equal
deleted
inserted
replaced
32 # compilation test |
32 # compilation test |
33 echo -e "bfc.scala runs?" >> $out |
33 echo -e "bfc.scala runs?" >> $out |
34 |
34 |
35 if (scala_compile bfc.scala) |
35 if (scala_compile bfc.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 BFC.SCALA\n" >> $out |
40 echo -e " --> SCALA DID NOT RUN BFC.SCALA\n" >> $out |
41 tsts1=$(( 1 )) |
41 tsts1=$(( 1 )) |
42 fi |
42 fi |
43 |
43 |
44 |
44 |
45 # var, return, ListBuffer test |
45 # var, return, ListBuffer test |
51 if (scala_vars bfc.scala) |
51 if (scala_vars bfc.scala) |
52 then |
52 then |
53 echo -e " --> FAIL (make triple-sure your program conforms to the required format)" >> $out |
53 echo -e " --> FAIL (make triple-sure your program conforms to the required format)" >> $out |
54 tsts1=$(( 1 )) |
54 tsts1=$(( 1 )) |
55 else |
55 else |
56 echo -e " --> success" >> $out |
56 echo -e " --> passed" >> $out |
57 tsts1=$(( 0 )) |
57 tsts1=$(( 0 )) |
58 fi |
58 fi |
59 fi |
59 fi |
60 |
60 |
61 ### bfc tests |
61 ### bfc tests |