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