marking1/mk-advanced
author Christian Urban <urbanc@in.tum.de>
Tue, 04 Feb 2020 11:20:31 +0000
changeset 330 c3d3461a5e77
parent 261 8997430d9765
child 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 .
330
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
    13
  cp ../../../../marking1/drump_test.sh .
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
    14
  cp ../../../../marking1/drumb_test1.scala .
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
    15
  cp ../../../../marking1/drumb_test2.scala .
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
    16
  cp ../../../../marking1/drumb_test3.scala .
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
    17
  cp ../../../../marking1/drumb_test4.scala .
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
    18
  cp ../../../../marking1/drumb_test5.scala .
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
    19
  cp ../../../../marking1/drumb_test6.scala .
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
    20
  cp ../../../../marking1/drumb_test7.scala .
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
    21
  cp ../../../../marking1/*.csv .
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
    22
  ./drumb_test.sh output
c3d3461a5e77 updated
Christian Urban <urbanc@in.tum.de>
parents: 261
diff changeset
    23
  rm drump_test.sh
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