diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2014-02-19 22:04:48 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2014-03-05 18:29:07 +0000 |
commit | c0d3371a902372662e911a1df080f0ffa17b6b72 (patch) | |
tree | 58dfa1eb1d5f0cd40c84be4ce455572ff97cb2f8 /tests/run-all | |
parent | 8e74405f81b62f209f20435970696bb8203bf74b (diff) |
tests: run-all: allow arg(s) to override test list
Diffstat (limited to 'tests/run-all')
-rwxr-xr-x | tests/run-all | 5 |
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 |