linux/tools/testing/selftests/rcutorture
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
..
bin rcutorture: Don't wait for kernel when all builds fail 2017-07-24 16:04:11 -07:00
configs rcutorture: Select CONFIG_PROVE_LOCKING for Tiny SRCU scenario 2017-07-24 16:04:09 -07:00
doc rcu: Eliminate NOCBs CPU-state Kconfig options 2017-06-08 18:52:43 -07:00
formal/srcu-cbmc srcu-cbmc: Use /usr/bin/awk instead of /bin/awk 2017-06-08 08:25:32 -07:00
.gitignore torture: Remove obsolete files from rcutorture .gitignore 2016-11-14 10:48:51 -08:00