marking2/mk
changeset 227 b5f3e814a710
parent 162 6d25ccbb3cf2
child 228 33c2655be47d
equal deleted inserted replaced
226:5e489c9fe47b 227:b5f3e814a710
     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:-assignment20177-*}
     6 files=${1:-assignment20187-*}
     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 ../../../marking2/knight1_test.sh .
    12   cp ../../../marking2/*.sh .
    13   cp ../../../marking2/kinght1a_test.scala .
    13   cp ../../../marking2/danube_test1.scala .
    14   cp ../../../marking2/knight1b_test.scala .
    14   cp ../../../marking2/danube_test2.scala .
    15   cp ../../../marking2/knight1c_test.scala .
    15   cp ../../../marking2/docdiff_test1.scala .
    16   cp ../../../marking2/knight2a_test.scala .
    16   cp ../../../marking2/docdiff_test2.scala .
    17   cp ../../../marking2/knight2b_test.scala .
    17   cp ../../../marking2/docdiff_test3.scala .
    18   ./knight1_test.sh output
    18   cp ../../../marking2/docdiff_test4.scala .
    19   rm knight1_test.sh
    19   ./docdiff_test.sh output
    20   rm kinght1a_test.scala
    20   ./danube_test.sh output
    21   rm kinght1b_test.scala
    21   rm *.sh
    22   rm kinght1c_test.scala 
    22   rm danube_test1.scala
    23   rm kinght2a_test.scala
    23   rm danube_test2.scala
    24   rm kinght2b_test.scala
    24   rm docdiff_test1.scala
       
    25   rm docdiff_test2.scala
       
    26   rm docdiff_test3.scala
       
    27   rm docdiff_test4.scala
    25   cd ..
    28   cd ..
    26 done
    29 done
    27 
    30 
    28 
    31