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

Avoid using STARR on the scalacheck classpath #6440

Merged
merged 1 commit into from Mar 21, 2018

Conversation

retronym
Copy link
Member

Integrating Scalacheck into our SBT build is all frying pans
and fires. We disabled forking to get test failure reporting
working, but didn't realise that this put STARR on the classpath
of the tests.

This commits switches back to forking, but only after customizing
the framework to get early access to what hopefully will be part
of the next scalacheck release: typelevel/scalacheck#388

Integrating Scalacheck into our SBT build is all frying pans
and fires. We disabled forking to get test failure reporting
working, but didn't realise that this put STARR on the classpath
of the tests.

This commits switches back to forking, but only after customizing
the framework to get early access to what hopefully will be part
of the next scalacheck release: typelevel/scalacheck#388
@scala-jenkins scala-jenkins added this to the 2.12.6 milestone Mar 18, 2018
@retronym retronym requested a review from SethTisue March 18, 2018 04:18
if ((fork in Test).value) Nil
else List(Tests.Cleanup { loader =>
ModuleUtilities.getObject("scala.TestCleanup", loader).asInstanceOf[Runnable].run()
})
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only makes sense (and only works) in un-forked mode, but I opted to leave it around in case we switch back.

@retronym
Copy link
Member Author

I'm going to merge this to unblock some downstream PRs. @SethTisue happy to rework based on post-hoc review.

@retronym retronym merged commit 0f7f359 into scala:2.12.x Mar 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants