main_testing4/shogun_test.sh
changeset 477 a4e1f63157d8
parent 476 7550c816187a
child 493 244df77507c2
equal deleted inserted replaced
476:7550c816187a 477:a4e1f63157d8
    16 #echo -e "" >> $out
    16 #echo -e "" >> $out
    17 
    17 
    18 # compilation tests
    18 # compilation tests
    19 
    19 
    20 function scala_compile {
    20 function scala_compile {
    21   (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala-cli compile "$1" 2> c$out 1> c$out)
    21   (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala-cli compile -color never -Xprint:parser "$1" 2> c$out 1> c$out)
    22 }
    22 }
    23 
    23 
    24 # functional tests
    24 # functional tests
    25 
    25 
    26 function scala_assert {
    26 function scala_assert {
   167     echo -e "  --> \n ONE TEST FAILED\n" >> $out
   167     echo -e "  --> \n ONE TEST FAILED\n" >> $out
   168   fi
   168   fi
   169 fi
   169 fi
   170 
   170 
   171 
   171 
       
   172 # legal moves
       
   173 if [ $tsts1 -eq 0 ]
       
   174 then
       
   175   echo -e " Task 6: automated test cases not yet done" >> $out
       
   176 fi
       
   177 
   172 echo -e "" >> $out
   178 echo -e "" >> $out
   173 echo -e "" >> $out
   179 echo -e "" >> $out
   174 
   180