testing5/mark
author Christian Urban <urbanc@in.tum.de>
Fri, 10 Apr 2020 12:12:48 +0100
changeset 333 24bc76d97db2
parent 303 b4c597be7514
permissions -rwxr-xr-x
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
236
e461b5325b5e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
#!/bin/bash
e461b5325b5e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
###set -e
e461b5325b5e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
e461b5325b5e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
trap "exit" INT
e461b5325b5e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
e461b5325b5e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
e461b5325b5e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
e461b5325b5e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
cp $DIR/* .
e461b5325b5e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
300
72688efdf17c updated testing files
Christian Urban <urbanc@in.tum.de>
parents: 236
diff changeset
    10
./bf_test.sh tmp_output1
236
e461b5325b5e 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 Part10 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
236
e461b5325b5e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
e461b5325b5e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
300
72688efdf17c updated testing files
Christian Urban <urbanc@in.tum.de>
parents: 236
diff changeset
    15
cat tmp_output1 >> $1
236
e461b5325b5e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16