OSDN Git Service

torturescript: Don't rerun failed rcutorture builds
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 5 Jan 2021 18:50:32 +0000 (10:50 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 8 Mar 2021 22:23:01 +0000 (14:23 -0800)
commita519d21480d330918bd522499a323432c31b6ec2
treee46d71d7f0bd63f9bdb2ed0229cec4426b9db9d7
parenta38fd8748464831584a19438cbb3082b5a2dab15
torturescript: Don't rerun failed rcutorture builds

If the build fails when running multiple instances of a given rcutorture
scenario, for example, using the kvm.sh --configs "8*RUDE01" argument,
the build will be rerun an additional seven times.  This is in some sense
correct, but it can waste significant time.  This commit therefore checks
for a prior failed build and simply copies over that build's output.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh