aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2017-01-11 11:51:50 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2017-01-11 11:51:50 +0100
commit20238feb96f65cee17e07be30b331259ebbfab5b (patch)
treed81a2f9f692c896a3de50bfb33eefd6e444aa87f
parentclean up (diff)
downloadefl-devs/jeyzu/mtests.tar.gz
-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" ]