Attic/marking2/mk-advanced
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 23 Feb 2024 11:31:36 +0000
changeset 483 1a51207780e6
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