From 5c21476c57df9bf80f8c9cd0fad970e8b423f46e Mon Sep 17 00:00:00 2001 From: michelou Date: Sat, 7 Oct 2006 08:14:32 +0000 Subject: fixed OS-specific variables in test_run_jvm() o... fixed OS-specific variables in test_run_jvm() on Cygwin --- test/scalatest | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/scalatest b/test/scalatest index 841ce0a106..e8290df57e 100755 --- a/test/scalatest +++ b/test/scalatest @@ -224,8 +224,9 @@ test_run_jvm() { rm -rf "$dstbase".obj && mkdir -p "$dstbase".obj && $SCALAC -d "$os_dstbase".obj "$@" "$os_srcbase".scala && + scala_lib=`get_os_filename "$SCALA_LIB"` && classpath=`get_os_pathlist "$os_dstbase".obj:$CLASSPATH` && - $SCALA -Dscalatest.output=$dstbase.obj -Dscalatest.lib=$SCALA_LIB -classpath $classpath Test "jvm" && + $SCALA -Dscalatest.output=$os_dstbase.obj -Dscalatest.lib=$scala_lib -classpath $classpath Test "jvm" && rm -rf "$dstbase".obj; } -- cgit v1.2.3