marking4/mk-advanced
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 08 Nov 2021 00:17:50 +0000
changeset 400 e48ea8300b2d
parent 332 703c7e42bf46
permissions -rwxr-xr-x
updated

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

trap "exit" INT

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

for sd in $files; do
  cd $sd
  echo $sd
  touch .
  cp ../../../../../marking4/re_test.sh .
  cp ../../../../../marking4/re_test1.scala .
  cp ../../../../../marking4/re_test2.scala .
  cp ../../../../../marking4/re_test3.scala .
  cp ../../../../../marking4/re_test4.scala .
  cp ../../../../../marking4/re_test5.scala .
  cp ../../../../../marking4/re_test6.scala .
  ./re_test.sh output
  rm re_test.sh
  rm re_test1.scala
  rm re_test2.scala
  rm re_test3.scala
  rm re_test4.scala
  rm re_test5.scala
  rm re_test6.scala
  cd ..
  cd ..
done