marking1/mk
author Christian Urban <urbanc@in.tum.de>
Tue, 29 Oct 2019 09:54:52 +0000
changeset 278 0c2481cd8b1c
parent 212 4bda49ec24da
child 330 c3d3461a5e77
permissions -rwxr-xr-x
updated

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

trap "exit" INT

files=${1:-assignment20186-*}

for sd in $files; do
  cd $sd
  echo $sd
  touch .
  cp ../../../marking1/*.sh .
  cp ../../../marking1/collatz_test1.scala .
  cp ../../../marking1/collatz_test2.scala .
  cp ../../../marking1/drumb_test1.scala .
  cp ../../../marking1/drumb_test2.scala .
  cp ../../../marking1/drumb_test3.scala .
  cp ../../../marking1/*.csv .
  ./collatz_test.sh output
  ./drumb_test.sh output
  rm *.sh
  rm collatz_test1.scala
  rm collatz_test2.scala
  rm drumb_test1.scala
  rm drumb_test2.scala
  rm drumb_test3.scala
  rm *.csv
  cd ..
done