diff --git a/share/test/do_tests.sh b/share/test/do_tests.sh new file mode 100644 index 0000000000..06abf466c2 --- /dev/null +++ b/share/test/do_tests.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +TWD="../../src" +BASE=$PWD + +TESTS=`find $TWD -name test -type d` + +for i in $TESTS ; do + cd $BASE + + echo "Doing $i ..." + cd $i + scons -c + scons > /dev/null 2>&1 + rm callgrind.out + rm test.db* test.log + for j in `ls test*` ; do +# valgrind ./$j -s +# valgrind --tool=callgrind ./$j -s + ./$j -s + done +done + +cd $BASE