summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rcutorture/formal
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-05-03 00:22:26 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-07-25 01:04:11 +0200
commit85ef2bd2a561055f3b1cab634f67b734034eb984 (patch)
tree0b2ca8e0cc8bd2f880ca77e050bb697f8b380a56 /tools/testing/selftests/rcutorture/formal
parenttorture: Add --kconfig argument to kvm.sh (diff)
downloadlinux-85ef2bd2a561055f3b1cab634f67b734034eb984.tar.xz
linux-85ef2bd2a561055f3b1cab634f67b734034eb984.zip
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>
Diffstat (limited to 'tools/testing/selftests/rcutorture/formal')
0 files changed, 0 insertions, 0 deletions