Attic/mk-bf
author Christian Urban <christian.urban@kcl.ac.uk>
Wed, 12 Aug 2020 00:56:20 +0100
changeset 335 7e00d2b13b04
parent 333 24bc76d97db2
permissions -rwxr-xr-x
updated

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

trap "exit" INT

files=${1:-assignment201810-*}

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/benchmark.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 benchmark.bf
  cd ..
done