testing1/mark
author Christian Urban <christian.urban@kcl.ac.uk>
Thu, 03 Nov 2022 09:55:11 +0000
changeset 431 ef68136b9a96
parent 303 b4c597be7514
permissions -rwxr-xr-x
updated jars
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
199
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
     1
#!/bin/bash
125
dcaab8068baa updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
###set -e
dcaab8068baa updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
dcaab8068baa updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
trap "exit" INT
dcaab8068baa updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
199
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
     6
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
     7
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
     8
cp $DIR/* .
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
     9
300
72688efdf17c updated testing files
Christian Urban <urbanc@in.tum.de>
parents: 298
diff changeset
    10
./collatz_test.sh tmp_output1
125
dcaab8068baa updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
303
b4c597be7514 updated
Christian Urban <urbanc@in.tum.de>
parents: 300
diff changeset
    12
echo -e "Here is an automated test report for some work in the Part6 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
199
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
    13
300
72688efdf17c updated testing files
Christian Urban <urbanc@in.tum.de>
parents: 298
diff changeset
    14
cat tmp_output1 >> $1
298
51ea8891bc26 updated
Christian Urban <urbanc@in.tum.de>
parents: 284
diff changeset
    15