marking1/mk
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 06 Aug 2019 00:12:34 +0100
changeset 270 b9eaa5cdec4a
parent 212 4bda49ec24da
child 330 c3d3461a5e77
permissions -rwxr-xr-x
updated

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

trap "exit" INT

files=${1:-assignment20186-*}

for sd in $files; do
  cd $sd
  echo $sd
  touch .
  cp ../../../marking1/*.sh .
  cp ../../../marking1/collatz_test1.scala .
  cp ../../../marking1/collatz_test2.scala .
  cp ../../../marking1/drumb_test1.scala .
  cp ../../../marking1/drumb_test2.scala .
  cp ../../../marking1/drumb_test3.scala .
  cp ../../../marking1/*.csv .
  ./collatz_test.sh output
  ./drumb_test.sh output
  rm *.sh
  rm collatz_test1.scala
  rm collatz_test2.scala
  rm drumb_test1.scala
  rm drumb_test2.scala
  rm drumb_test3.scala
  rm *.csv
  cd ..
done