marking5/mk-advanced
author Christian Urban <christian.urban@kcl.ac.uk>
Wed, 09 Nov 2022 16:44:16 +0000
changeset 435 fda7c39f3b6a
parent 333 24bc76d97db2
permissions -rwxr-xr-x
updated wordle testing
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
253
ec7a12806c3f updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
#!/bin/sh
ec7a12806c3f updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
###set -e
ec7a12806c3f updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
ec7a12806c3f updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
trap "exit" INT
ec7a12806c3f updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
333
24bc76d97db2 updated
Christian Urban <urbanc@in.tum.de>
parents: 256
diff changeset
     6
files=${1:-assignment2019scala-*/Part10}
253
ec7a12806c3f updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
ec7a12806c3f updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
for sd in $files; do
ec7a12806c3f updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
  cd $sd
ec7a12806c3f updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
  echo $sd
ec7a12806c3f updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
  touch .
333
24bc76d97db2 updated
Christian Urban <urbanc@in.tum.de>
parents: 256
diff changeset
    12
  cp ../../../../../marking5/bf_test.sh .
24bc76d97db2 updated
Christian Urban <urbanc@in.tum.de>
parents: 256
diff changeset
    13
  cp ../../../../../marking5/bf_test1.scala .
24bc76d97db2 updated
Christian Urban <urbanc@in.tum.de>
parents: 256
diff changeset
    14
  cp ../../../../../marking5/bf_test2.scala .
24bc76d97db2 updated
Christian Urban <urbanc@in.tum.de>
parents: 256
diff changeset
    15
  cp ../../../../../marking5/bf_test3.scala .
24bc76d97db2 updated
Christian Urban <urbanc@in.tum.de>
parents: 256
diff changeset
    16
  cp ../../../../../marking5/bf_test4.scala .
24bc76d97db2 updated
Christian Urban <urbanc@in.tum.de>
parents: 256
diff changeset
    17
  cp ../../../../../marking5/bf_test5.scala .
24bc76d97db2 updated
Christian Urban <urbanc@in.tum.de>
parents: 256
diff changeset
    18
  cp ../../../../../marking5/bf_test6.scala .
24bc76d97db2 updated
Christian Urban <urbanc@in.tum.de>
parents: 256
diff changeset
    19
  cp ../../../../../marking5/bf_test7.scala .
24bc76d97db2 updated
Christian Urban <urbanc@in.tum.de>
parents: 256
diff changeset
    20
  cp ../../../../../marking5/*.bf .
24bc76d97db2 updated
Christian Urban <urbanc@in.tum.de>
parents: 256
diff changeset
    21
  ./bf_test.sh output
24bc76d97db2 updated
Christian Urban <urbanc@in.tum.de>
parents: 256
diff changeset
    22
  rm bf_test.sh
24bc76d97db2 updated
Christian Urban <urbanc@in.tum.de>
parents: 256
diff changeset
    23
  rm bf_test1.scala
24bc76d97db2 updated
Christian Urban <urbanc@in.tum.de>
parents: 256
diff changeset
    24
  rm bf_test2.scala
24bc76d97db2 updated
Christian Urban <urbanc@in.tum.de>
parents: 256
diff changeset
    25
  rm bf_test3.scala
24bc76d97db2 updated
Christian Urban <urbanc@in.tum.de>
parents: 256
diff changeset
    26
  rm bf_test4.scala
255
44f2b6e34015 updated
Christian Urban <urbanc@in.tum.de>
parents: 253
diff changeset
    27
  rm bf_test5.scala
44f2b6e34015 updated
Christian Urban <urbanc@in.tum.de>
parents: 253
diff changeset
    28
  rm bf_test6.scala
44f2b6e34015 updated
Christian Urban <urbanc@in.tum.de>
parents: 253
diff changeset
    29
  rm bf_test7.scala
44f2b6e34015 updated
Christian Urban <urbanc@in.tum.de>
parents: 253
diff changeset
    30
  rm *.bf
253
ec7a12806c3f updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
  cd ..
333
24bc76d97db2 updated
Christian Urban <urbanc@in.tum.de>
parents: 256
diff changeset
    32
  cd ..
253
ec7a12806c3f updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
done
ec7a12806c3f updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
ec7a12806c3f updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35