pre_marking4/mk
author Christian Urban <christian.urban@kcl.ac.uk>
Thu, 08 Dec 2022 21:28:33 +0000
changeset 453 08cd972b219f
parent 388 ed63dca8068a
permissions -rwxr-xr-x
updated

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

trap "exit" INT

files=${1:-*/pre4}

for sd in $files; do
  cd $sd
  echo $sd
  sleep 15
  touch .
  cp ../../../../../pre_marking4/knight1_test.sh .
  cp ../../../../../pre_marking4/knight1_test1.scala .
  cp ../../../../../pre_marking4/knight1_test2.scala .
  cp ../../../../../pre_marking4/knight1_test3a.scala .
  cp ../../../../../pre_marking4/knight1_test3b.scala .
  cp ../../../../../pre_marking4/knight1_test3c.scala .
  ./knight1_test.sh output
  rm knight1_test.sh
  rm knight1_test1.scala
  rm knight1_test2.scala
  rm knight1_test3a.scala 
  rm knight1_test3b.scala
  rm knight1_test3c.scala
  cd ..
  cd ..
done