-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
When using a locally built Scala distribution via scalaHome, any attempt to run a test fails with java.lang.ClassNotFoundException: org.scalatools.testing.Framework. I was able to confirm this with sbt 0.13.7 and 0.13.12, using the build/pack output from ant in Scala 2.12.0-M5 and from sbt in Scala 2.12.0-RC1. Tests can be run when Scala is resolved in the usual way from a Maven repository.
This was originally filed as scala/scala-dev#223 but seems to be an sbt problem rather than one with the new build. The assumptions from that ticket appear to be wrong though. The problem is not caused by building the Scala distribution with sbt or the lack of a partest.properties file. Even when building M5 with ant and manually launching partest to generate partest.properties I can still reproduce the problem.