aboutsummaryrefslogtreecommitdiff
path: root/src/tests/run_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/run_tests.sh')
-rwxr-xr-xsrc/tests/run_tests.sh13
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