marking5/mk
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 05 Aug 2019 20:14:06 +0100
changeset 269 86a85865e772
parent 253 ec7a12806c3f
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