equal
deleted
inserted
replaced
34 |
34 |
35 echo -e "re.scala runs?" >> $out |
35 echo -e "re.scala runs?" >> $out |
36 |
36 |
37 if (scala_compile re.scala) |
37 if (scala_compile re.scala) |
38 then |
38 then |
39 echo -e " --> yes" >> $out |
39 echo -e " --> passed" >> $out |
40 tsts=$(( 0 )) |
40 tsts=$(( 0 )) |
41 else |
41 else |
42 echo -e " --> SCALA DID NOT RUN RE.SCALA\n" >> $out |
42 echo -e " --> SCALA DID NOT RUN RE.SCALA\n" >> $out |
43 tsts=$(( 1 )) |
43 tsts=$(( 1 )) |
44 fi |
44 fi |
53 if (scala_vars re.scala) |
53 if (scala_vars re.scala) |
54 then |
54 then |
55 echo -e " --> FAIL (make triple-sure your program conforms to the required format)" >> $out |
55 echo -e " --> FAIL (make triple-sure your program conforms to the required format)" >> $out |
56 tsts=$(( 1 )) |
56 tsts=$(( 1 )) |
57 else |
57 else |
58 echo -e " --> success" >> $out |
58 echo -e " --> passed" >> $out |
59 tsts=$(( 0 )) |
59 tsts=$(( 0 )) |
60 fi |
60 fi |
61 fi |
61 fi |
62 |
62 |
63 |
63 |