marking2/mk-advanced
author Christian Urban <urbanc@in.tum.de>
Mon, 28 Jan 2019 12:49:19 +0000
changeset 259 43995ea34fe7
parent 228 marking2/mk@33c2655be47d
child 260 b4812c877b05
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