From: Ruediger Meier Date: Tue, 15 Dec 2015 17:26:04 +0000 (+0100) Subject: tests: fix run.sh --parallel=1 X-Git-Tag: v2.28-rc1~212 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81b3d7eda54edd74c0ab7b9a564ae6adb0d45839;p=thirdparty%2Futil-linux.git tests: fix run.sh --parallel=1 Signed-off-by: Ruediger Meier --- diff --git a/tests/run.sh b/tests/run.sh index 4927a483a5..dca9c6c54e 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -65,11 +65,9 @@ while [ -n "$1" ]; do ;; --parallel=*) paraller_jobs="${1##--parallel=}" - OPTS="$OPTS --parallel" ;; --parallel) paraller_jobs=$(num_cpus) - OPTS="$OPTS --parallel" ;; --exclude=*) EXCLUDETESTS="${1##--exclude=}" @@ -164,6 +162,7 @@ echo if [ $paraller_jobs -gt 1 ]; then echo " Executing the tests in parallel ($paraller_jobs jobs) " echo + OPTS="$OPTS --parallel" fi count=0