Attic/marking2/mk-advanced
author Christian Urban <christian.urban@kcl.ac.uk>
Wed, 01 Dec 2021 07:51:21 +0000
changeset 416 497f67fd4ae0
parent 331 e3878cdd38bc
permissions -rwxr-xr-x
updated

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

trap "exit" INT

files=${1:-assignment20177-*}

for sd in $files; do
  cd $sd
  echo $sd
  touch .
  cp ../../../marking2/knight3_test.sh .
  cp ../../../marking2/knight3a_test.scala .
  cp ../../../marking2/knight3b_test.scala .
  cp ../../../marking2/knight3c_test.scala .
  ./knight3_test.sh output
  rm knight3_test.sh
  rm knight3a_test.scala
  rm knight3b_test.scala
  rm knight3c_test.scala
  cd ..
done