From 20238feb96f65cee17e07be30b331259ebbfab5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 11 Jan 2017 11:51:50 +0100 Subject: clean up --- mtests.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mtests.sh b/mtests.sh index fc110c8a69..08c89ba36d 100755 --- a/mtests.sh +++ b/mtests.sh @@ -145,6 +145,7 @@ function report exit 0 } +# parse command line while [ $# -ge 1 ]; do case "$1" in -s|--src) @@ -160,16 +161,16 @@ while [ $# -ge 1 ]; do shift ;; -a|--abort) - shift ABORT=1 + shift ;; -c|--color) - shift COLOR=1 + shift ;; -q|--quiet) - shift QUIET=1 + shift ;; -h|--help) echo "Usage: $SCRIPT_FILE [options] [tests]" @@ -211,6 +212,7 @@ then TESTS=$(find $SRC_D -type d -name tests) fi +# go for test_c in $TESTS do if [ -d "$test_c" ] -- cgit v1.2.1