marking2/mk
author Christian Urban <urbanc@in.tum.de>
Fri, 30 Nov 2018 14:13:11 +0000
changeset 227 b5f3e814a710
parent 162 6d25ccbb3cf2
child 228 33c2655be47d
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 .
  ./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
  cd ..
done