From ac29eff0b78813e170e1ac65bfaa01dab6755fed Mon Sep 17 00:00:00 2001 From: Dariusz Murakowski Date: Fri, 1 May 2015 18:38:20 -0400 Subject: [PATCH] Allow passing script names into unit test runner. (Default: all *.test files.) --- test/runTests.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/runTests.sh b/test/runTests.sh index b7676ed..6d266b0 100755 --- a/test/runTests.sh +++ b/test/runTests.sh @@ -39,7 +39,10 @@ checkTest () { return $retval } -for t in *.test; do +# test all *.test files by default, or use input file names +FILES=${@-*.test} + +for t in $FILES; do if [ -x "$t" ]; then if checkTest $t; then echo "SUCCESS: $t" -- 2.7.4