summaryrefslogtreecommitdiff
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
parentb0c6b2e234ea0784c4b592d5f6ab529074e79b6b (diff)
-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
145 exit 0 145 exit 0
146} 146}
147 147
148# parse command line
148while [ $# -ge 1 ]; do 149while [ $# -ge 1 ]; do
149 case "$1" in 150 case "$1" in
150 -s|--src) 151 -s|--src)
@@ -160,16 +161,16 @@ while [ $# -ge 1 ]; do
160 shift 161 shift
161 ;; 162 ;;
162 -a|--abort) 163 -a|--abort)
163 shift
164 ABORT=1 164 ABORT=1
165 shift
165 ;; 166 ;;
166 -c|--color) 167 -c|--color)
167 shift
168 COLOR=1 168 COLOR=1
169 shift
169 ;; 170 ;;
170 -q|--quiet) 171 -q|--quiet)
171 shift
172 QUIET=1 172 QUIET=1
173 shift
173 ;; 174 ;;
174 -h|--help) 175 -h|--help)
175 echo "Usage: $SCRIPT_FILE [options] [tests]" 176 echo "Usage: $SCRIPT_FILE [options] [tests]"
@@ -211,6 +212,7 @@ then
211 TESTS=$(find $SRC_D -type d -name tests) 212 TESTS=$(find $SRC_D -type d -name tests)
212fi 213fi
213 214
215# go
214for test_c in $TESTS 216for test_c in $TESTS
215do 217do
216 if [ -d "$test_c" ] 218 if [ -d "$test_c" ]