equal
deleted
inserted
replaced
52 # compilation test |
52 # compilation test |
53 if [ $tsts0 -eq 0 ] |
53 if [ $tsts0 -eq 0 ] |
54 then |
54 then |
55 echo "postfix.scala runs?" | tee -a $out |
55 echo "postfix.scala runs?" | tee -a $out |
56 |
56 |
57 if (scala_compile re.scala) |
57 if (scala_compile postfix.scala) |
58 then |
58 then |
59 echo " --> success" | tee -a $out |
59 echo " --> success" | tee -a $out |
60 tsts1=$(( 0 )) |
60 tsts1=$(( 0 )) |
61 else |
61 else |
62 echo " --> scala postfix.scala did not run successfully" | tee -a $out |
62 echo " --> scala postfix.scala did not run successfully" | tee -a $out |
109 |
109 |
110 ### postfix2 tests |
110 ### postfix2 tests |
111 |
111 |
112 # var, return, ListBuffer test |
112 # var, return, ListBuffer test |
113 # |
113 # |
114 # var, return, ListBuffer test |
|
115 # |
|
116 echo -e "postfix2.scala does not contain vars, returns, Arrays, ListBuffers etc?" | tee -a $out |
114 echo -e "postfix2.scala does not contain vars, returns, Arrays, ListBuffers etc?" | tee -a $out |
117 |
115 |
118 if (scala_vars postfix2.scala) |
116 if (scala_vars postfix2.scala) |
119 then |
117 then |
120 echo " --> test failed" | tee -a $out |
118 echo " --> test failed" | tee -a $out |
130 # compilation test |
128 # compilation test |
131 if [ $tsts0 -eq 0 ] |
129 if [ $tsts0 -eq 0 ] |
132 then |
130 then |
133 echo "postfix2.scala runs?" | tee -a $out |
131 echo "postfix2.scala runs?" | tee -a $out |
134 |
132 |
135 if (scala_compile re.scala) |
133 if (scala_compile postfix2.scala) |
136 then |
134 then |
137 echo " --> success" | tee -a $out |
135 echo " --> success" | tee -a $out |
138 tsts1=$(( 0 )) |
136 tsts1=$(( 0 )) |
139 else |
137 else |
140 echo " --> scala postfix2.scala did not run successfully" | tee -a $out |
138 echo " --> scala postfix2.scala did not run successfully" | tee -a $out |