marking2/mk-advanced
changeset 259 43995ea34fe7
parent 228 33c2655be47d
child 260 b4812c877b05
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/marking2/mk-advanced	Mon Jan 28 12:49:19 2019 +0000
@@ -0,0 +1,35 @@
+#!/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
+
+