test/run-suites: Be less picky when searching for tests
authorPetri Lehtinen <petri@digip.org>
Thu, 21 Jan 2010 18:59:56 +0000 (20:59 +0200)
committerPetri Lehtinen <petri@digip.org>
Thu, 21 Jan 2010 19:49:04 +0000 (21:49 +0200)
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.

test/run-suites

index e736004..6e5baf6 100755 (executable)
@@ -14,7 +14,7 @@ done
 if [ -z "$SUITES" ]; then
     suitedirs=$top_srcdir/test/suites/*
     for suitedir in $suitedirs; do
-        if [ -x $suitedir/run ]; then
+        if [ -d $suitedir ]; then
             SUITES="$SUITES `basename $suitedir`"
         fi
     done