diff options
author | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2011-01-17 15:18:03 +0000 |
---|---|---|
committer | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2011-01-17 15:18:03 +0000 |
commit | be2778d50f1a73a941c6ffe6355f0ed401d6d8eb (patch) | |
tree | 54cd12023d74a8e172b68106911036c7e32a2321 /project | |
parent | cf820b8907e60214df974a3b2a88ca0a7e877298 (diff) | |
download | scala-be2778d50f1a73a941c6ffe6355f0ed401d6d8eb.tar.gz scala-be2778d50f1a73a941c6ffe6355f0ed401d6d8eb.tar.bz2 scala-be2778d50f1a73a941c6ffe6355f0ed401d6d8eb.zip |
Added 'specialized' tests.
Added a new test group - specialized.
Modified partest to add a jar with instrumented classes to classpath when compiling and running tests.
Added a primary version of the instrumented BoxesRuntime, and a script to produce a jar for it.
Added the 'speclib' folder to partest files, which contains the jar with the instrumented classes.
Review by dragos.
Diffstat (limited to 'project')
-rwxr-xr-x | project/build/Partest.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/project/build/Partest.scala b/project/build/Partest.scala index 709425b3e3..3ff5c16324 100755 --- a/project/build/Partest.scala +++ b/project/build/Partest.scala @@ -46,13 +46,14 @@ trait PartestRunner{ lazy val scriptFilesTest = TestSet(Std,"script", "Running script files", testFiles / "script" * ("*.scala")) lazy val shootoutFilesTest = TestSet(Std,"shootout", "Running shootout tests", testFiles / "shootout" * ("*.scala")) lazy val scalapFilesTest = TestSet(Std,"scalap", "Running scalap tests", testFiles / "scalap" * ("*.scala")) + lazy val specializedFilesTest = TestSet(Std,"specialized", "Running specialized tests", testFiles / "specialized" * ("*.scala")) lazy val negContinuationTest = TestSet(Continuations,"neg", "Compiling continuations files that are expected to fail", testFiles / "continuations-neg" * ("*.scala" || DirectoryFilter)) lazy val runContinuationTest = TestSet(Continuations,"run", "Compiling and running continuations files", testFiles / "continuations-run" ** ("*.scala" )) lazy val continuationScalaOpts = "-Xpluginsdir "+continuationPluginConfig.packagingConfig.jarDestination.asFile.getParent+" -Xplugin-require:continuations -P:continuations:enable" - lazy val testSuiteFiles:List[TestSet] = List(posFilesTest,negFilesTest,runFilesTest,jvmFilesTest,resFilesTest,buildmanagerFilesTest,scalacheckFilesTest,shootoutFilesTest,scalapFilesTest) + lazy val testSuiteFiles:List[TestSet] = List(posFilesTest,negFilesTest,runFilesTest,jvmFilesTest,resFilesTest,buildmanagerFilesTest,scalacheckFilesTest,shootoutFilesTest,scalapFilesTest,specializedFilesTest) lazy val testSuiteContinuation:List[TestSet]=List(negContinuationTest,runContinuationTest) private lazy val filesTestMap:Map[String,TestSet] = |