marking3/marking2/mk
author Christian Urban <urbanc@in.tum.de>
Sun, 03 Nov 2019 14:42:17 +0000
changeset 308 e86add5a6961
parent 227 b5f3e814a710
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/knight1_test.sh .
  cp ../../../marking2/kinght1a_test.scala .
  cp ../../../marking2/knight1b_test.scala .
  cp ../../../marking2/knight1c_test.scala .
  cp ../../../marking2/knight2a_test.scala .
  cp ../../../marking2/knight2b_test.scala .
  ./knight1_test.sh output
  rm knight1_test.sh
  rm kinght1a_test.scala
  rm kinght1b_test.scala
  rm kinght1c_test.scala 
  rm kinght2a_test.scala
  rm kinght2b_test.scala
  cd ..
done