OSDN Git Service

rcutorture: Summarize summary of build and run results
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 16 Dec 2019 20:04:33 +0000 (12:04 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 21 Feb 2020 00:03:30 +0000 (16:03 -0800)
commitc0b94ffb66845d13f9ec537a28bd1466b4de2e14
tree0f1ab8c473320bea4aeb9041f2703dfe0980bf4e
parente0714247373b9c0253b002573f63f3e9698b7b30
rcutorture: Summarize summary of build and run results

When running the default list of tests, the run summary of a successful
(that is, failed to find any errors) run fits easily on a 24-line screen.
But a run with something like "--configs '5*CFLIST'" will be 80 lines long,
and it is all too easy to miss a failure message when scrolling back.
This commit therefore prints out the number of runs with failing builds
or runtime failures, but only if there are any such failures.

For example, a run with a single build error and a single runtime error
would print two lines like this:

1 runs with build errors.
1 runs with runtime errors.

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