marking1/mk
changeset 330 c3d3461a5e77
parent 212 4bda49ec24da
equal deleted inserted replaced
329:8a34b2ebc8cc 330:c3d3461a5e77
     1 #!/bin/sh
     1 #!/bin/sh
     2 ###set -e
     2 ###set -e
     3 
     3 
     4 trap "exit" INT
     4 trap "exit" INT
     5 
     5 
     6 files=${1:-assignment20186-*}
     6 files=${1:-assignment2019scala-*/Part6}
     7 
     7 
     8 for sd in $files; do
     8 for sd in $files; do
     9   cd $sd
     9   cd $sd
    10   echo $sd
    10   echo $sd
    11   touch .
    11   touch .
    12   cp ../../../marking1/*.sh .
    12   cp ../../../../marking1/collatz_test.sh .
    13   cp ../../../marking1/collatz_test1.scala .
    13   cp ../../../../marking1/collatz_test1.scala .
    14   cp ../../../marking1/collatz_test2.scala .
    14   cp ../../../../marking1/collatz_test2.scala .
    15   cp ../../../marking1/drumb_test1.scala .
    15   ./collatz_test.sh output1
    16   cp ../../../marking1/drumb_test2.scala .
    16   rm collatz_test.sh
    17   cp ../../../marking1/drumb_test3.scala .
       
    18   cp ../../../marking1/*.csv .
       
    19   ./collatz_test.sh output
       
    20   ./drumb_test.sh output
       
    21   rm *.sh
       
    22   rm collatz_test1.scala
    17   rm collatz_test1.scala
    23   rm collatz_test2.scala
    18   rm collatz_test2.scala
    24   rm drumb_test1.scala
    19   cd ..
    25   rm drumb_test2.scala
       
    26   rm drumb_test3.scala
       
    27   rm *.csv
       
    28   cd ..
    20   cd ..
    29 done
    21 done
    30 
    22 
    31 
    23