summaryrefslogtreecommitdiffstats
path: root/tests/run.sh
diff options
context:
space:
mode:
authorRuediger Meier2014-05-21 15:04:55 +0200
committerRuediger Meier2014-05-27 00:09:49 +0200
commit667e47352431af8af0add91b6e345dc2e90182b5 (patch)
treebcc41aa2c8e4cbb3037fa15e1743e89fbe9fb167 /tests/run.sh
parenttests: ts_scsi_debug_init skip instead of die (diff)
downloadkernel-qcow2-util-linux-667e47352431af8af0add91b6e345dc2e90182b5.tar.gz
kernel-qcow2-util-linux-667e47352431af8af0add91b6e345dc2e90182b5.tar.xz
kernel-qcow2-util-linux-667e47352431af8af0add91b6e345dc2e90182b5.zip
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 <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/run.sh')
-rwxr-xr-xtests/run.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/run.sh b/tests/run.sh
index 06ed5e384..1f2971aed 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