testing2/mark
author Christian Urban <urbanc@in.tum.de>
Sun, 16 Dec 2018 21:43:14 +0000
changeset 249 1997cfcd6334
child 299 940b6c68102a
permissions -rwxr-xr-x
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
249
1997cfcd6334 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
#!/bin/bash
1997cfcd6334 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
###set -e
1997cfcd6334 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
1997cfcd6334 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
trap "exit" INT
1997cfcd6334 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
1997cfcd6334 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1997cfcd6334 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
1997cfcd6334 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
cp $DIR/* .
1997cfcd6334 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
1997cfcd6334 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
./docdiff_test.sh output1
1997cfcd6334 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
./danube_test.sh output2
1997cfcd6334 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
1997cfcd6334 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
echo "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.  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
1997cfcd6334 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
1997cfcd6334 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
cat output1 output2 >> $1 
1997cfcd6334 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16