linux/tools/testing/selftests/rcutorture/bin
Paul E. McKenney 85ef2bd2a5 rcutorture: Don't wait for kernel when all builds fail
Currently, rcutorture groups runs in batches, building each scenario in
a given batch, then invoking qemu to run all the kernels in the batch.
Of course, if a given scenario's kernel fails to build, there is no qemu
run for that scenario.  And if all of the kernels in a given batch fail
to build, there are no runs, and rcutorture immediately starts on the
next batch.

But not if --jitter has been specified, which it is by default.  In this
case, the jitter scripts are started unconditionally, and rcutorture
waits for them to complete, even though there are no kernels to run.

This commit therefore checks for this situation, and refuses to start
jitter unless at least one of the kernels in the batch built successfully.
This saves substantial time when all scenarios' kernels fail to build,
particularly if a long --duration was specified.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
2017-07-24 16:04:11 -07:00
..
config2frag.sh rcutorture: Set executable bit and drop bash from Usage 2014-09-07 16:24:38 -07:00
config_override.sh torture: Add --kconfig argument to kvm.sh 2017-07-24 16:04:10 -07:00
configcheck.sh rcutorture: Fix bug in reporting Kconfig mis-settings 2017-06-08 08:25:20 -07:00
configinit.sh rcutorture: Display "make oldconfig" errors 2015-05-27 13:00:00 -07:00
configNR_CPUS.sh rcutorture: Stop tracking FSF's postal address 2013-12-03 10:11:19 -08:00
cpus2use.sh rcutorture: Handle different mpstat versions 2015-01-10 19:08:03 -08:00
functions.sh rcutorture: Drop "-soundhw pcspkr" from x86 boot arguments 2016-06-14 16:03:30 -07:00
jitter.sh rcutorture: Add OS-jitter capability 2016-04-21 13:45:35 -07:00
kvm-build.sh torture: Add --kconfig argument to kvm.sh 2017-07-24 16:04:10 -07:00
kvm-recheck-lock.sh rcutorture: Set executable bit and drop bash from Usage 2014-09-07 16:24:38 -07:00
kvm-recheck-rcu.sh rcutorture: Issue warnings on close calls due to Reader Batch blows 2015-01-10 19:07:46 -08:00
kvm-recheck-rcuperf-ftrace.sh rcutorture: Make scripts analyze rcuperf trace data, if present 2016-03-31 13:38:57 -07:00
kvm-recheck-rcuperf.sh rcutorture: Make scripts analyze rcuperf trace data, if present 2016-03-31 13:38:57 -07:00
kvm-recheck.sh rcutorture: Update scripting to accommodate rcuperf 2016-03-31 13:37:36 -07:00
kvm-test-1-run.sh rcutorture: Don't wait for kernel when all builds fail 2017-07-24 16:04:11 -07:00
kvm.sh rcutorture: Don't wait for kernel when all builds fail 2017-07-24 16:04:11 -07:00
parse-build.sh rcutorture: Make build-output parsing correctly flag RCU's warnings 2015-01-10 19:07:57 -08:00
parse-console.sh torture: Add starvation events to error summary 2016-06-14 16:02:17 -07:00
parse-torture.sh rcutorture: Set executable bit and drop bash from Usage 2014-09-07 16:24:38 -07:00