marking2/mk-advanced
author Christian Urban <urbanc@in.tum.de>
Tue, 16 Jan 2018 10:47:29 +0000
changeset 168 03530cb87cd0
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