test/run-suites: Be less picky when searching for tests

This is to better catch distribution errors. It's easier to notice
that run-tests fails than to notice that one of many test suites is
silently skipped.
This commit is contained in:
Petri Lehtinen 2010-01-21 20:59:56 +02:00
parent 4c6cb6afd1
commit 2ae279e0d4

View File

@ -14,7 +14,7 @@ done
if [ -z "$SUITES" ]; then if [ -z "$SUITES" ]; then
suitedirs=$top_srcdir/test/suites/* suitedirs=$top_srcdir/test/suites/*
for suitedir in $suitedirs; do for suitedir in $suitedirs; do
if [ -x $suitedir/run ]; then if [ -d $suitedir ]; then
SUITES="$SUITES `basename $suitedir`" SUITES="$SUITES `basename $suitedir`"
fi fi
done done