testing1/drumb_test.sh
changeset 169 b37052895281
parent 160 863feeb5c760
child 199 54befaf23648
equal deleted inserted replaced
168:03530cb87cd0 169:b37052895281
    44 # compilation test
    44 # compilation test
    45 if  [ $tsts0 -eq 0 ]
    45 if  [ $tsts0 -eq 0 ]
    46 then 
    46 then 
    47   echo "drumb.scala runs?" >> $out
    47   echo "drumb.scala runs?" >> $out
    48 
    48 
    49   if (scala_compile alcohol.scala)
    49   if (scala_compile drumb.scala)
    50   then
    50   then
    51     echo "  --> success" >> $out
    51     echo "  --> success" >> $out
    52     tsts=$(( 0 ))
    52     tsts=$(( 0 ))
    53   else
    53   else
    54     echo "  --> scala did not run alcohol.scala" >> $out
    54     echo "  --> scala did not run drumb.scala" >> $out
    55     tsts=$(( 1 )) 
    55     tsts=$(( 1 )) 
    56   fi
    56   fi
    57 else
    57 else
    58   tsts=$(( 1 ))     
    58   tsts=$(( 1 ))     
    59 fi
    59 fi