2 # Run all or specified test scripts
7 export USE_VALGRIND
="valgrind -q --sim-hints=lax-ioctls"
11 export USE_VALGRIND
="valgrind --sim-hints=lax-ioctls --leak-check=full --show-reachable=yes --log-file=/tmp/valgrind-%p.log"
22 if test -n "$DO_FAILED"; then
23 FAILED
=$
(find .
-maxdepth 1 -name \
*.failed
)
24 if test -z "$FAILED" ; then
26 echo "No (more) failed tests!"
29 for fname
in $FAILED ; do
30 TESTS
="$TESTS $SRCDIR/${fname%%.failed}"
36 [a-zA-Z
]) TESTS
="$TESTS $SRCDIR/${i}_*" ;;
37 *) TESTS
="$TESTS $SRCDIR/$i" ;;
41 if test "$TESTS"x
= x
; then
42 if test -n "$DO_FAILED"; then
45 TESTS
=`ls -d $SRCDIR/[a-zA-Z]_*`
48 for test_dir
in $TESTS; do