testing1/mark
author Christian Urban <urbanc@in.tum.de>
Sun, 09 Dec 2018 01:36:49 +0000
changeset 243 9bb36426c781
parent 199 54befaf23648
child 284 9a04eb6a2291
permissions -rwxr-xr-x
updated
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
130
7f3f01dfe738 updated
Christian Urban <urbanc@in.tum.de>
parents: 128
diff changeset
    10
./collatz_test.sh output1
199
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
    11
./drumb_test.sh output2
125
dcaab8068baa updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
199
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
    13
echo "Here is an automated test report for your work so far on assignment 6.  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
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
    14
54befaf23648 updated
Christian Urban <urbanc@in.tum.de>
parents: 144
diff changeset
    15
cat output1 output2 >> $1