Skip to content

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

Development

Successfully merging this pull request may close these issues.

2 participants