diff options
author | Ruediger Meier | 2016-03-05 15:40:57 +0100 |
---|---|---|
committer | Ruediger Meier | 2016-03-05 22:19:24 +0100 |
commit | 855f7f06507f5b2f547da054898ae751bec888bb (patch) | |
tree | d2dbaa7e7407d6992b95d248e69e7828898be2df /tests/run.sh | |
parent | tests: --parallel prints results in a single line (diff) | |
download | kernel-qcow2-util-linux-855f7f06507f5b2f547da054898ae751bec888bb.tar.gz kernel-qcow2-util-linux-855f7f06507f5b2f547da054898ae751bec888bb.tar.xz kernel-qcow2-util-linux-855f7f06507f5b2f547da054898ae751bec888bb.zip |
tests: add option --parsable
This is to force the one-line results also for non-parallel case.
We are using it for travis auto-build and on other build farms.
Moreover you can set this (and any other) option globally by env
which is the only way to pass it to make distcheck.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/run.sh')
-rwxr-xr-x | tests/run.sh | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/tests/run.sh b/tests/run.sh index 03cd9f5c2..aad3acb0d 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -43,20 +43,14 @@ function find_test_scripts() while [ -n "$1" ]; do case "$1" in - --force) - OPTS="$OPTS --force" - ;; - --fake) - OPTS="$OPTS --fake" - ;; - --memcheck) - OPTS="$OPTS --memcheck" - ;; - --verbose) - OPTS="$OPTS --verbose" - ;; - --skip-loopdevs) - OPTS="$OPTS --skip-loopdevs" + --force |\ + --fake |\ + --memcheck |\ + --verbose |\ + --skip-loopdevs |\ + --parsable) + # these options are simply forwarded to the test scripts + OPTS="$OPTS $1" ;; --nonroot) if [ $(id -ru) -eq 0 ]; then |