diff -r 940b6c68102a -r 72688efdf17c testing4/re_test.sh --- a/testing4/re_test.sh Thu Oct 31 11:33:02 2019 +0000 +++ b/testing4/re_test.sh Thu Oct 31 12:01:56 2019 +0000 @@ -6,7 +6,7 @@ echo -e "" > $out -echo -e "Below is the feedback for your submission of CW 9, Part 1." >> $out +echo -e "Below is the feedback for your submission of CW 9, Core Part." >> $out echo -e "" >> $out @@ -19,7 +19,7 @@ # functional tests function scala_assert { - (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null) + (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -i "$1" -- "$2" 2> /dev/null 1> /dev/null) } # purity test @@ -35,7 +35,7 @@ if (scala_vars re.scala) then - echo -e " --> fail (make triple-sure your program conforms to the required format)" >> $out + echo -e " --> FAIL (make triple-sure your program conforms to the required format)" >> $out tsts0=$(( 0 )) else echo -e " --> success" >> $out