marking1/mk
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 18 Jan 2021 22:12:39 +0000
changeset 386 e2170c91a9f2
parent 330 c3d3461a5e77
permissions -rwxr-xr-x
added marking

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

trap "exit" INT

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

for sd in $files; do
  cd $sd
  echo $sd
  touch .
  cp ../../../../marking1/collatz_test.sh .
  cp ../../../../marking1/collatz_test1.scala .
  cp ../../../../marking1/collatz_test2.scala .
  ./collatz_test.sh output1
  rm collatz_test.sh
  rm collatz_test1.scala
  rm collatz_test2.scala
  cd ..
  cd ..
done