--- a/marking3/knight3_test.sh Tue Jan 22 12:53:05 2019 +0000
+++ b/marking3/knight3_test.sh Mon Jan 28 12:49:19 2019 +0000
@@ -26,7 +26,7 @@
# functional tests
function scala_assert {
- (ulimit -t 30; JAVA_OPTS="-Xmx4g -Xss200m" scala -nc -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null)
+ (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -nc -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null)
}
function scala_assert_long {
@@ -135,7 +135,7 @@
if (scala_vars knight3.scala)
then
echo " --> test failed" | tee -a $out
- tsts0=$(( 0 ))
+ tsts0=$(( 1 ))
else
echo " --> success" | tee -a $out
tsts0=$(( 0 ))