diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-14 19:15:43 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-14 19:15:43 +0100 |
commit | 1ca147f9e08202dfbc78692e204adac280f8238b (patch) | |
tree | 70cf40c14aae874bae814a9dcddbfdf5aba52079 /src/tests/run_tests.sh | |
parent | 74ea640f40285220dfa93492a143a35426b867d1 (diff) | |
download | kogata-1ca147f9e08202dfbc78692e204adac280f8238b.tar.gz kogata-1ca147f9e08202dfbc78692e204adac280f8238b.zip |
Rearrange testing architecture : just type 'make run_tests'
Diffstat (limited to 'src/tests/run_tests.sh')
-rwxr-xr-x | src/tests/run_tests.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tests/run_tests.sh b/src/tests/run_tests.sh new file mode 100755 index 0000000..bd23801 --- /dev/null +++ b/src/tests/run_tests.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +cd `dirname $0` + +for FILE in */Makefile */*/Makefile; do + TEST=`dirname $FILE` + echo -n "Running test $TEST ... " + if make -C $TEST run_test > $TEST/test.log 2>&1; then + echo OK + else + echo FAIL + fi +done |