Attic/marking2/mk-advanced
author Christian Urban <christian.urban@kcl.ac.uk>
Sun, 15 Sep 2024 12:57:59 +0100
changeset 493 244df77507c2
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