main_testing2/danube_test.sh
changeset 352 97bcf8efe4e0
parent 347 4de31fdc0d67
child 376 6cc36d0ef79e
equal deleted inserted replaced
351:591b9005157e 352:97bcf8efe4e0
    36 
    36 
    37 echo "danube.scala runs?" >> $out
    37 echo "danube.scala runs?" >> $out
    38 
    38 
    39 if (scala_compile danube.scala)
    39 if (scala_compile danube.scala)
    40 then
    40 then
    41     echo "  --> success" >> $out
    41     echo "  --> passed" >> $out
    42     tsts=$(( 0 ))
    42     tsts=$(( 0 ))
    43 else
    43 else
    44     echo "  --> SCALA DID NOT RUN danube.scala" >> $out
    44     echo "  --> SCALA DID NOT RUN danube.scala" >> $out
    45     tsts=$(( 1 )) 
    45     tsts=$(( 1 )) 
    46 fi
    46 fi
    55     if (scala_vars danube.scala)
    55     if (scala_vars danube.scala)
    56     then
    56     then
    57 	echo "  --> FAIL (make triple-sure your program conforms to the required format)" >> $out
    57 	echo "  --> FAIL (make triple-sure your program conforms to the required format)" >> $out
    58 	tsts=$(( 1 ))
    58 	tsts=$(( 1 ))
    59     else
    59     else
    60 	echo "  --> success" >> $out
    60 	echo "  --> passed" >> $out
    61 	tsts=$(( 0 )) 
    61 	tsts=$(( 0 )) 
    62     fi
    62     fi
    63 fi
    63 fi
    64 
    64 
    65 
    65