marking3/knight1_test.sh
changeset 384 6e1237691307
parent 331 e3878cdd38bc
--- a/marking3/knight1_test.sh	Mon Dec 07 01:25:41 2020 +0000
+++ b/marking3/knight1_test.sh	Fri Jan 15 02:40:57 2021 +0000
@@ -20,7 +20,7 @@
 
 
 function scala_compile {
-  (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala "$1" 2>> $out 1>> $out) 
+  (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala "$1") # 2>> $out 1>> $out) 
 }
 
 # functional tests
@@ -140,7 +140,7 @@
   echo "       5: 304,0,56,0,304,0,56,0,56,0,56,0,64,0,56,0,56,0,56,0,304,0,56,0,304" | tee -a $out
   START=$(date +%s)
   
-  if (scala_assert_elong "knight1.scala" "knight1_test3a.scala") 
+  if (scala_assert "knight1.scala" "knight1_test3a.scala") 
   then
      END=$(date +%s)
      DIFF=$(( $END - $START ))