marking2/mk
author Christian Urban <urbanc@in.tum.de>
Tue, 29 Oct 2019 14:12:24 +0000
changeset 281 87b9e3e2c1a7
parent 228 33c2655be47d
child 325 ca9c1cf929fa
permissions -rwxr-xr-x
updated

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

trap "exit" INT

files=${1:-assignment20187-*}

for sd in $files; do
  cd $sd
  echo $sd
  touch .
  cp ../../../marking2/*.sh .
  cp ../../../marking2/danube_test1.scala .
  cp ../../../marking2/danube_test2.scala .
  cp ../../../marking2/docdiff_test1.scala .
  cp ../../../marking2/docdiff_test2.scala .
  cp ../../../marking2/docdiff_test3.scala .
  cp ../../../marking2/docdiff_test4.scala .
  cp ../../../marking2/movies.csv .
  cp ../../../marking2/ratings.csv .
  ./docdiff_test.sh output
  ./danube_test.sh output
  rm *.sh
  rm danube_test1.scala
  rm danube_test2.scala
  rm docdiff_test1.scala
  rm docdiff_test2.scala
  rm docdiff_test3.scala
  rm docdiff_test4.scala
  rm ratings.csv
  rm movies.csv
  cd ..
done