Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

partest won't work in the binary distribution #4554

Closed
scabug opened this issue May 8, 2011 · 5 comments
Closed

partest won't work in the binary distribution #4554

scabug opened this issue May 8, 2011 · 5 comments
Labels

Comments

@scabug
Copy link

scabug commented May 8, 2011

=== What steps will reproduce the problem (please be specific and use wikiformatting)? ===

  mkdir testpartest
  cd testpartest
  wget --no-check-certificate --quiet https://scala-webapps.epfl.ch/jenkins/job/scala-nightly-main/ws/scala/dists/sbaz-partest.tgz
  tar xzf sbaz-partest.tgz
  mkdir test
  cd test
  for ii in library devel test
  do
   unzip -q -o ../sbaz/scala-$$ii-[0-9]*-*.sbp
  done
  chmod u+x bin/*
  # try partest
  bin/partest --all

=== What is the expected behavior? ===

Tests run.

=== What do you see instead? ===

Exception in thread "main" java.lang.RuntimeException: Directory 'test' not found.
	at scala.sys.package$$.error(package.scala:27)
	at scala.tools.partest.nest.PathSettings$$$$anonfun$$testRoot$$1$$$$anonfun$$apply$$2.apply(PathSettings.scala:24)
	at scala.tools.partest.nest.PathSettings$$$$anonfun$$testRoot$$1$$$$anonfun$$apply$$2.apply(PathSettings.scala:24)

=== Additional information ===

This functionality has been broken for a long time. Currently it is possible to get partest to run on the binary distribution by using symbolic links and other hacks, but this should really be fixed once and for all.

=== What versions of the following are you using? ===

Current trunk.

@scabug
Copy link
Author

scabug commented May 8, 2011

Imported From: https://issues.scala-lang.org/browse/SI-4554?orig=1
Reporter: @cunei

@scabug
Copy link
Author

scabug commented May 10, 2011

@lindydonna said:
Paul, I believe this is related to some of your partest changes last year. Would you mind taking a look?

@scabug scabug added this to the Backlog milestone Apr 7, 2017
@SethTisue
Copy link
Member

we no longer have any ambitions of running partest any other way but through sbt

@SethTisue SethTisue removed this from the Backlog milestone Mar 3, 2018
@SethTisue SethTisue added the build label Mar 3, 2018
@SethTisue
Copy link
Member

wow. I looked at hundreds of dusty tickets today, but I think this was the dustiest of them all

@som-snytt
Copy link

🤧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants