marking3/marking2/mk
author Christian Urban <urbanc@in.tum.de>
Sat, 02 Feb 2019 13:35:07 +0000
changeset 262 21c69dc3dbf7
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