marking3/mk
author Christian Urban <christian.urban@kcl.ac.uk>
Wed, 09 Nov 2022 16:44:16 +0000
changeset 435 fda7c39f3b6a
parent 332 703c7e42bf46
permissions -rwxr-xr-x
updated wordle testing

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

trap "exit" INT

files=${1:-assignment2019scala-*/Part8}

for sd in $files; do
  cd $sd
  echo $sd
  touch .
  cp ../../../../../marking3/knight1_test.sh .
  cp ../../../../../marking3/knight1_test1.scala .
  cp ../../../../../marking3/knight1_test2.scala .
  cp ../../../../../marking3/knight1_test3a.scala .
  cp ../../../../../marking3/knight1_test3b.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
  cd ..
  cd ..
done