From: Petri Lehtinen Date: Thu, 21 Jan 2010 18:59:56 +0000 (+0200) Subject: test/run-suites: Be less picky when searching for tests X-Git-Tag: v1.2~1 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=jansson.git;a=commitdiff_plain;h=2ae279e0d4f071c6dc3bbb1c2c2cfe1f337a5b98 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. --- diff --git a/test/run-suites b/test/run-suites index e736004..6e5baf6 100755 --- a/test/run-suites +++ b/test/run-suites @@ -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