testing2/mark
author Christian Urban <urbanc@in.tum.de>
Thu, 31 Oct 2019 11:33:02 +0000
changeset 299 2837753c2714
parent 249 65cb10f8014a
child 300 be9900ba65ff
permissions -rwxr-xr-x
marking
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
249
65cb10f8014a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
#!/bin/bash
65cb10f8014a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
###set -e
65cb10f8014a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
65cb10f8014a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
trap "exit" INT
65cb10f8014a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
65cb10f8014a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
65cb10f8014a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
65cb10f8014a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
cp $DIR/* .
65cb10f8014a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
299
2837753c2714 marking
Christian Urban <urbanc@in.tum.de>
parents: 249
diff changeset
    10
./docdiff_test.sh tmp_output
249
65cb10f8014a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
299
2837753c2714 marking
Christian Urban <urbanc@in.tum.de>
parents: 249
diff changeset
    12
echo -e "Here is an automated test report for your work so far on assignment 7. 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
249
65cb10f8014a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
299
2837753c2714 marking
Christian Urban <urbanc@in.tum.de>
parents: 249
diff changeset
    14
cat tmp_output >> $1 
249
65cb10f8014a updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15