marking5/mk-advanced
author Christian Urban <urbanc@in.tum.de>
Fri, 10 Apr 2020 12:12:48 +0100
changeset 333 24bc76d97db2
parent 256 512292bb5e93
permissions -rwxr-xr-x
updated

#!/bin/sh
###set -e

trap "exit" INT

files=${1:-assignment2019scala-*/Part10}

for sd in $files; do
  cd $sd
  echo $sd
  touch .
  cp ../../../../../marking5/bf_test.sh .
  cp ../../../../../marking5/bf_test1.scala .
  cp ../../../../../marking5/bf_test2.scala .
  cp ../../../../../marking5/bf_test3.scala .
  cp ../../../../../marking5/bf_test4.scala .
  cp ../../../../../marking5/bf_test5.scala .
  cp ../../../../../marking5/bf_test6.scala .
  cp ../../../../../marking5/bf_test7.scala .
  cp ../../../../../marking5/*.bf .
  ./bf_test.sh output
  rm bf_test.sh
  rm bf_test1.scala
  rm bf_test2.scala
  rm bf_test3.scala
  rm bf_test4.scala
  rm bf_test5.scala
  rm bf_test6.scala
  rm bf_test7.scala
  rm *.bf
  cd ..
  cd ..
done