Skip to content

Commit caa2c97

Browse files
committed
report an error if there are no test scripts
1 parent b28ba90 commit caa2c97

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/run_tests

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ scripts="$*"
1212
if [ -z "$scripts" ]
1313
then
1414
scripts=$(ls tests/test*.sh)
15+
if [ -z "$scripts" ]
16+
then
17+
echo "Could not find any test scripts to run" 1>&2
18+
exit 1
19+
fi
1520
fi
1621

1722
# Force the tox virtualenv to be active.

0 commit comments

Comments
 (0)