testing2/mark2
author Christian Urban <urbanc@in.tum.de>
Tue, 29 Oct 2019 14:12:24 +0000
changeset 281 32dfd2ca577b
parent 263 43297a2f7740
child 299 2837753c2714
permissions -rwxr-xr-x
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
263
43297a2f7740 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
#!/bin/bash
43297a2f7740 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
###set -e
43297a2f7740 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
43297a2f7740 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
trap "exit" INT
43297a2f7740 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
43297a2f7740 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
43297a2f7740 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
43297a2f7740 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
cp $DIR/* .
43297a2f7740 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
43297a2f7740 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
./danube_test2.sh output1
43297a2f7740 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
43297a2f7740 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
echo -e "Here is an automated test report for your work on the advanced part of 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.  Passing these tests does not guarantee your code is free from bugs: after the deadline, your code will be marked against a different, more thorough set of test cases.\n\n" > $1
43297a2f7740 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
43297a2f7740 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
cat output1 >> $1 
43297a2f7740 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15