main_marking5/mk
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 08 Nov 2021 01:16:13 +0000
changeset 402 de59aa20a1dc
parent 392 97ecdc8cb61b
permissions -rwxr-xr-x
updated

#!/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