5 if [ -x $top_srcdir/test/suites/$suite/run ]; then
6 SUITES="$SUITES $suite"
8 echo "No such suite: $suite"
14 if [ -z "$SUITES" ]; then
15 suitedirs=$top_srcdir/test/suites/*
16 for suitedir in $suitedirs; do
17 if [ -d $suitedir ]; then
18 SUITES="$SUITES `basename $suitedir`"
23 [ -z "$STOP" ] && STOP=0
25 export suites_srcdir=$top_srcdir/test/suites
26 export suites_builddir=suites
27 export scriptdir=$top_srcdir/test/scripts
33 for suite in $SUITES; do
35 if $suites_srcdir/$suite/run $suite; then
39 [ $STOP -eq 1 ] && break
43 if [ $failed -gt 0 ]; then
44 echo "$failed of $((passed+failed)) test suites failed"
47 echo "$passed test suites passed"