summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2014-02-19 22:04:48 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2014-03-05 18:29:07 +0000
commitc0d3371a902372662e911a1df080f0ffa17b6b72 (patch)
tree58dfa1eb1d5f0cd40c84be4ce455572ff97cb2f8 /tests
parent8e74405f81b62f209f20435970696bb8203bf74b (diff)
tests: run-all: allow arg(s) to override test list
Diffstat (limited to 'tests')
-rwxr-xr-xtests/run-all5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/run-all b/tests/run-all
index 551e51f..e2e2a6f 100755
--- 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
-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