testing3/mark
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 02 Dec 2022 07:48:03 +0000
changeset 449 d67c5f7177a6
parent 303 b4c597be7514
permissions -rwxr-xr-x
updated

#!/bin/bash
###set -e

trap "exit" INT

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

cp $DIR/* .

./knight_test.sh tmp_output

echo -e "Here is an automated test report for your work in the Part8 directory. Please note that this is not the mark for your work; it is provided only in the hope that it is useful in developing your solution.  Please ensure you test your code on your own machine in order to make sure it is bug free!! Passing these tests does not guarantee your code is free from bugs!! Also after the deadline, your code will be marked against a different, more thorough set of test cases.\n\n" > $1


cat tmp_output >> $1