marking5/mk-advanced
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 07 Dec 2020 01:25:41 +0000
changeset 383 c02929f2647c
parent 333 24bc76d97db2
permissions -rwxr-xr-x
updated

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

trap "exit" INT

files=${1:-assignment2019scala-*/Part10}

for sd in $files; do
  cd $sd
  echo $sd
  touch .
  cp ../../../../../marking5/bf_test.sh .
  cp ../../../../../marking5/bf_test1.scala .
  cp ../../../../../marking5/bf_test2.scala .
  cp ../../../../../marking5/bf_test3.scala .
  cp ../../../../../marking5/bf_test4.scala .
  cp ../../../../../marking5/bf_test5.scala .
  cp ../../../../../marking5/bf_test6.scala .
  cp ../../../../../marking5/bf_test7.scala .
  cp ../../../../../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_test5.scala
  rm bf_test6.scala
  rm bf_test7.scala
  rm *.bf
  cd ..
  cd ..
done