From be2778d50f1a73a941c6ffe6355f0ed401d6d8eb Mon Sep 17 00:00:00 2001 From: Aleksandar Pokopec Date: Mon, 17 Jan 2011 15:18:03 +0000 Subject: 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. --- test/files/specialized/test.scala | 10 ++++++++++ test/files/speclib/instrumented.jar.desired.sha1 | 1 + 2 files changed, 11 insertions(+) create mode 100644 test/files/specialized/test.scala create mode 100644 test/files/speclib/instrumented.jar.desired.sha1 (limited to 'test/files') diff --git a/test/files/specialized/test.scala b/test/files/specialized/test.scala new file mode 100644 index 0000000000..54ef28d68a --- /dev/null +++ b/test/files/specialized/test.scala @@ -0,0 +1,10 @@ + + + +object Test { + + def main(args: Array[String]) { + assert(runtime.BoxesRunTime.booleanBoxCount == 0) + } + +} diff --git a/test/files/speclib/instrumented.jar.desired.sha1 b/test/files/speclib/instrumented.jar.desired.sha1 new file mode 100644 index 0000000000..b9ee989293 --- /dev/null +++ b/test/files/speclib/instrumented.jar.desired.sha1 @@ -0,0 +1 @@ +b698acc3a39cc0186bd20f25fc307ee01ef3a135 ?instrumented.jar -- cgit v1.2.3