marking4/mk-advanced
changeset 227 b5f3e814a710
parent 168 03530cb87cd0
child 257 ba4d976ca88d
equal deleted inserted replaced
226:5e489c9fe47b 227:b5f3e814a710
       
     1 #!/bin/sh
       
     2 ###set -e
       
     3 
       
     4 trap "exit" INT
       
     5 
       
     6 files=${1:-assignment20178-*}
       
     7 
       
     8 for sd in $files; do
       
     9   cd $sd
       
    10   echo $sd
       
    11   touch .
       
    12   cp ../../../marking3/bf_test.sh .
       
    13   cp ../../../marking3/bf1a_test.scala .
       
    14   cp ../../../marking3/bf1b_test.scala .
       
    15   cp ../../../marking3/bf1c_test.scala .
       
    16   ./bf_test.sh output
       
    17   rm bf_test.sh
       
    18   rm bf1a_test.scala
       
    19   rm bf1b_test.scala
       
    20   rm bf1c_test.scala
       
    21   cd ..
       
    22 done
       
    23 
       
    24