summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmtests.sh8
1 files 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" ]