marking1/mk-advanced
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 21 Nov 2022 15:57:45 +0000
changeset 447 f51e593903ac
parent 331 e3878cdd38bc
permissions -rwxr-xr-x
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
169
b37052895281 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
#!/bin/sh
b37052895281 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
###set -e
b37052895281 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
b37052895281 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
trap "exit" INT
b37052895281 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
330
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
     6
files=${1:-assignment2019scala-*/Part6}
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
     7
169
b37052895281 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
b37052895281 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
for sd in $files; do
b37052895281 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
  cd $sd
b37052895281 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
  echo $sd
b37052895281 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
  touch .
331
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 330
diff changeset
    13
  cp ../../../../../marking1/drumb_test.sh .
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 330
diff changeset
    14
  cp ../../../../../marking1/drumb_test1.scala .
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 330
diff changeset
    15
  cp ../../../../../marking1/drumb_test2.scala .
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 330
diff changeset
    16
  cp ../../../../../marking1/drumb_test3.scala .
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 330
diff changeset
    17
  cp ../../../../../marking1/drumb_test4.scala .
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 330
diff changeset
    18
  cp ../../../../../marking1/drumb_test5.scala .
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 330
diff changeset
    19
  cp ../../../../../marking1/drumb_test6.scala .
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 330
diff changeset
    20
  cp ../../../../../marking1/drumb_test7.scala .
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 330
diff changeset
    21
  cp ../../../../../marking1/*.csv .
330
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
    22
  ./drumb_test.sh output
331
e3878cdd38bc updated
Christian Urban <urbanc@in.tum.de>
parents: 330
diff changeset
    23
  rm drumb_test.sh
330
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
    24
  rm drumb_test1.scala
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
    25
  rm drumb_test2.scala
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
    26
  rm drumb_test3.scala
260
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    27
  rm drumb_test4.scala
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    28
  rm drumb_test5.scala
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    29
  rm drumb_test6.scala
b4812c877b05 updated
Christian Urban <urbanc@in.tum.de>
parents: 169
diff changeset
    30
  rm drumb_test7.scala
169
b37052895281 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
  rm *.csv
b37052895281 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
  cd ..
330
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
    33
  cd ..
169
b37052895281 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
done
b37052895281 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
b37052895281 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36