From: Ruediger Meier Date: Wed, 21 May 2014 13:04:55 +0000 (+0000) Subject: tests: run tests in deterministic order X-Git-Tag: v2.25-rc1~81^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=667e47352431af8af0add91b6e345dc2e90182b5;p=thirdparty%2Futil-linux.git tests: run tests in deterministic order Not really needed but it makes debugging of existing build logs much more easier. Signed-off-by: Ruediger Meier --- diff --git a/tests/run.sh b/tests/run.sh index 06ed5e3849..1f2971aedf 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -146,6 +146,7 @@ fi count=0 >| $top_builddir/tests/failures printf "%s\n" ${comps[*]} | + sort | xargs -I '{}' -P $paraller_jobs -n 1 bash -c "'{}' \"$OPTS\" || echo 1 >> $top_builddir/tests/failures" declare -a fail_file