marking3/mk
author Christian Urban <urbanc@in.tum.de>
Tue, 03 Dec 2019 01:22:16 +0000
changeset 326 e5453add7df6
parent 243 9bb36426c781
child 332 703c7e42bf46
permissions -rwxr-xr-x
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
243
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
#!/bin/sh
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
###set -e
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
trap "exit" INT
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
326
e5453add7df6 updated
Christian Urban <urbanc@in.tum.de>
parents: 243
diff changeset
     6
files=${1:-assignment2019scala-*/Part8}
243
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
for sd in $files; do
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
  cd $sd
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
  echo $sd
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
  touch .
326
e5453add7df6 updated
Christian Urban <urbanc@in.tum.de>
parents: 243
diff changeset
    12
  cp ../../../../../marking3/knight1_test.sh .
e5453add7df6 updated
Christian Urban <urbanc@in.tum.de>
parents: 243
diff changeset
    13
  cp ../../../../../marking3/knight1_test1.scala .
e5453add7df6 updated
Christian Urban <urbanc@in.tum.de>
parents: 243
diff changeset
    14
  cp ../../../../../marking3/knight1_test2.scala .
e5453add7df6 updated
Christian Urban <urbanc@in.tum.de>
parents: 243
diff changeset
    15
  cp ../../../../../marking3/knight1_test3a.scala .
e5453add7df6 updated
Christian Urban <urbanc@in.tum.de>
parents: 243
diff changeset
    16
  cp ../../../../../marking3/knight1_test3b.scala .
e5453add7df6 updated
Christian Urban <urbanc@in.tum.de>
parents: 243
diff changeset
    17
  #cp ../../../../../marking3/knight1_test4.scala .
e5453add7df6 updated
Christian Urban <urbanc@in.tum.de>
parents: 243
diff changeset
    18
  #cp ../../../../../marking3/knight1_test5.scala .
e5453add7df6 updated
Christian Urban <urbanc@in.tum.de>
parents: 243
diff changeset
    19
  ./knight1_test.sh output1
243
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
  rm knight1_test.sh
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
  rm knight1_test1.scala
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
  rm knight1_test2.scala
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
  rm knight1_test3a.scala 
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
  rm knight1_test3b.scala
326
e5453add7df6 updated
Christian Urban <urbanc@in.tum.de>
parents: 243
diff changeset
    25
  #rm knight1_test4.scala
e5453add7df6 updated
Christian Urban <urbanc@in.tum.de>
parents: 243
diff changeset
    26
  #rm knight1_test5.scala
e5453add7df6 updated
Christian Urban <urbanc@in.tum.de>
parents: 243
diff changeset
    27
  cd ..
243
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
  cd ..
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
done
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
9bb36426c781 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31