chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: run-all: allow arg(s) to override test list
[dgit.git]
/
tests
/
run-all
diff --git
a/tests/run-all
b/tests/run-all
index 551e51ffb8ea298e522c16b08ea92a9e0c83a3c2..e2e2a6f517f51b5ae99df2e663a0afca90aaba13 100755
(executable)
--- a/
tests/run-all
+++ b/
tests/run-all
@@
-1,7
+1,10
@@
#!/bin/sh
set -e
# convenience script for running the tests outside adt-run
#!/bin/sh
set -e
# convenience script for running the tests outside adt-run
-for f in `run-parts --list tests/tests`; do
+if [ $# = 0 ]; then
+ set `run-parts --list tests/tests`
+fi
+for f in $@; do
echo ==================================================
echo $f
$f
echo ==================================================
echo $f
$f