marking2/danube_test.sh
changeset 283 ef5f62bf5987
parent 264 ecd989eee8bd
child 284 9a04eb6a2291
--- a/marking2/danube_test.sh	Tue Oct 29 14:34:51 2019 +0000
+++ b/marking2/danube_test.sh	Tue Oct 29 23:56:13 2019 +0000
@@ -20,13 +20,13 @@
 # compilation tests
 
 function scala_compile {
-    (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -nc "$1" 2>> $out 1>> $out)
+    (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala "$1" 2>> $out 1>> $out)
 }
 
 # functional tests
 
 function scala_assert {
-  (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -nc -i "$1" "$2" -e "") #2> /dev/null 1> /dev/null)
+  (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -i "$1" -- "$2" -e "" 2> /dev/null 1> /dev/null)
 }
 
 # purity test