equal
deleted
inserted
replaced
16 #echo -e "" >> $out |
16 #echo -e "" >> $out |
17 |
17 |
18 # compilation tests |
18 # compilation tests |
19 |
19 |
20 function scala_compile { |
20 function scala_compile { |
21 (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala-cli compile "$1" 2> c$out 1> c$out) |
21 (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala-cli compile -color never -Xprint:parser "$1" 2> c$out 1> c$out) |
22 } |
22 } |
23 |
23 |
24 # functional tests |
24 # functional tests |
25 |
25 |
26 function scala_assert { |
26 function scala_assert { |
167 echo -e " --> \n ONE TEST FAILED\n" >> $out |
167 echo -e " --> \n ONE TEST FAILED\n" >> $out |
168 fi |
168 fi |
169 fi |
169 fi |
170 |
170 |
171 |
171 |
|
172 # legal moves |
|
173 if [ $tsts1 -eq 0 ] |
|
174 then |
|
175 echo -e " Task 6: automated test cases not yet done" >> $out |
|
176 fi |
|
177 |
172 echo -e "" >> $out |
178 echo -e "" >> $out |
173 echo -e "" >> $out |
179 echo -e "" >> $out |
174 |
180 |