#!/bin/sh
###set -e
trap "exit" INT
files=${1:-assignment20187-*}
for sd in $files; do
cd $sd
echo $sd
touch .
cp ../../../marking2/*.sh .
cp ../../../marking2/danube_test1.scala .
cp ../../../marking2/danube_test2.scala .
cp ../../../marking2/docdiff_test1.scala .
cp ../../../marking2/docdiff_test2.scala .
cp ../../../marking2/docdiff_test3.scala .
cp ../../../marking2/docdiff_test4.scala .
cp ../../../marking2/movies.csv .
cp ../../../marking2/ratings.csv .
./docdiff_test.sh output
./danube_test.sh output
rm *.sh
rm danube_test1.scala
rm danube_test2.scala
rm docdiff_test1.scala
rm docdiff_test2.scala
rm docdiff_test3.scala
rm docdiff_test4.scala
rm ratings.csv
rm movies.csv
cd ..
done