--- a/marking1/collatz_test.sh Sat Feb 02 01:21:43 2019 +0000
+++ b/marking1/collatz_test.sh Sat Feb 02 13:28:05 2019 +0000
@@ -23,13 +23,13 @@
# compilation tests
function scala_compile {
- (ulimit -t 60; JAVA_OPTS="-Xmx1g" scala "$1" 2> /dev/null 1> /dev/null)
+ (ulimit -t 60; JAVA_OPTS="-Xmx1g" scala -nc "$1" 2> /dev/null 1> /dev/null)
}
# functional tests
function scala_assert {
- (ulimit -t 60; JAVA_OPTS="-Xmx1g" scala -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null)
+ (ulimit -t 60; JAVA_OPTS="-Xmx1g" scala -nc -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null)
}
# purity test