projects
/
VirEvoDyn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85bd66e
)
Allow passing script names into unit test runner. (Default: all *.test files.)
author
Dariusz Murakowski
<murakdar@mit.edu>
Fri, 1 May 2015 22:38:20 +0000
(18:38 -0400)
committer
Dariusz Murakowski
<murakdar@mit.edu>
Fri, 1 May 2015 22:38:20 +0000
(18:38 -0400)
test/runTests.sh
patch
|
blob
|
history
diff --git
a/test/runTests.sh
b/test/runTests.sh
index
b7676ed
..
6d266b0
100755
(executable)
--- 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"