From 855f7f06507f5b2f547da054898ae751bec888bb Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Sat, 5 Mar 2016 15:40:57 +0100 Subject: 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 --- tests/run.sh | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) (limited to 'tests/run.sh') 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 -- cgit v1.2.3-55-g7522