From 5fc1ae9658fd6f3d406ce1c19ff4c2386316874f Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Sat, 24 Mar 2007 16:24:51 +0000 Subject: split test files in the original unchanged file... split test files in the original unchanged file from the debian repository and a .scala.runner file that defines Test object to run the test -- see README --- test/scalatest | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/scalatest b/test/scalatest index dd1dd3977b..7624a0082a 100755 --- a/test/scalatest +++ b/test/scalatest @@ -327,7 +327,8 @@ test_run_ant() { test_run_shootout() { rm -rf "$dstbase".obj && mkdir -p "$dstbase".obj && - $SCALAC -d "$os_dstbase".obj -cp "$JVM_EXT_CLASSPATH" "$@" "$os_srcbase".scala && + cat "$os_srcbase".scala.runner "$os_srcbase".scala > "$dstbase".obj/test.scala && + $SCALAC -d "$os_dstbase".obj -cp "$JVM_EXT_CLASSPATH" "$@" "$dstbase".obj/test.scala && scala_lib=`get_os_filename "$SCALA_LIB"` && classpath=`get_os_pathlist "$os_dstbase".obj:$CLASSPATH` && $SCALA -Dscalatest.cwd=$srcdir -Dscalatest.output=$os_dstbase.obj -Dscalatest.lib=$scala_lib -classpath $classpath:$JVM_EXT_CLASSPATH Test && -- cgit v1.2.3