main_marking5/mk
author Christian Urban <christian.urban@kcl.ac.uk>
Sun, 31 Jan 2021 03:24:32 +0000
changeset 392 97ecdc8cb61b
permissions -rwxr-xr-x
marking 5

#!/bin/sh
###set -e

trap "exit" INT

files=${1:-*/main5}

for sd in $files; do
  cd $sd
  echo $sd
  touch .
  cp ../../../../../main_marking5/bf_test.sh .
  cp ../../../../../main_marking5/bf_test1.scala .
  cp ../../../../../main_marking5/bf_test2.scala .
  cp ../../../../../main_marking5/bf_test3.scala .
  cp ../../../../../main_marking5/bf_test4.scala .
  cp ../../../../../main_marking5/bf_test4b.scala .
  cp ../../../../../main_marking5/bf_test5.scala .
  cp ../../../../../main_marking5/bf_test6.scala .
  cp ../../../../../main_marking5/bf_test7.scala .
  cp ../../../../../main_marking5/*.bf .
  ./bf_test.sh output
  rm bf_test.sh
  rm bf_test1.scala
  rm bf_test2.scala
  rm bf_test3.scala
  rm bf_test4.scala
  rm bf_test4b.scala
  rm bf_test5.scala
  rm bf_test6.scala
  rm bf_test7.scala
  rm *.bf
  cd ..
  cd ..
done