marking3/mk-advanced
changeset 332 703c7e42bf46
parent 258 ebe71908b13e
--- a/marking3/mk-advanced	Tue Feb 04 14:15:42 2020 +0000
+++ b/marking3/mk-advanced	Wed Feb 05 12:24:27 2020 +0000
@@ -3,23 +3,29 @@
 
 trap "exit" INT
 
-files=${1:-assignment20188-*}
+files=${1:-assignment2019scala-*/Part8}
 
 for sd in $files; do
   cd $sd
   echo $sd
+  sleep 5
   touch .
-  cp ../../../marking3/knight3_test.sh .
-  cp ../../../marking3/knight_test6.scala .
-  cp ../../../marking3/knight_test7.scala .
-  cp ../../../marking3/knight_test8.scala .
-  cp ../../../marking3/knight_test9.scala .
-  ./knight3_test.sh output
-  rm knight3_test.sh
-  rm knight_test6.scala
-  rm knight_test7.scala
-  rm knight_test8.scala
-  rm knight_test9.scala
+  cp ../../../../../marking3/knight2_test.sh .
+  cp ../../../../../marking3/knight1_test4.scala .
+  cp ../../../../../marking3/knight1_test5.scala .
+  cp ../../../../../marking3/knight2_test6.scala .
+  cp ../../../../../marking3/knight2_test7.scala .
+  cp ../../../../../marking3/knight2_test8.scala .
+  cp ../../../../../marking3/knight3_test9.scala .
+  ./knight2_test.sh output
+  rm knight2_test.sh
+  rm knight1_test4.scala
+  rm knight1_test5.scala
+  rm knight2_test6.scala
+  rm knight2_test7.scala
+  rm knight2_test8.scala
+  rm knight3_test9.scala
+  cd ..
   cd ..
 done