diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-03-17 13:42:33 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-05-14 09:46:15 -0700 |
commit | 9eb97fe7033b459fa0b5eae47b27a61be0d89f25 (patch) | |
tree | 262a47f6387b719642ccd673a04f863a9cb2373a /tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh | |
parent | 5ed63b199c5b58ed150ce50f1ea68de54669b13f (diff) | |
download | linux-9eb97fe7033b459fa0b5eae47b27a61be0d89f25.tar.gz linux-9eb97fe7033b459fa0b5eae47b27a61be0d89f25.tar.bz2 linux-9eb97fe7033b459fa0b5eae47b27a61be0d89f25.zip |
torture: Better summary diagnostics for build failures
The reaction of kvm-recheck.sh is obscure at best, and easy to miss
completely. This commit therefore prints "BUG: Build failed" in the
summary at the end of a run. This commit also adds the line of dashes
in cases where performance info is not available, and also avoids
printing nonsense diagnostics in cases where some of the normal test
output is not available. In addition, this commit saves off the .config
file even when the build fails.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh')
-rwxr-xr-x | tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh b/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh index 2301982b8087..2bfdb48cd920 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh @@ -112,6 +112,7 @@ then fi else cp $builddir/Make*.out $resdir + cp $builddir/.config $resdir || : echo Build failed, not running KVM, see $resdir. if test -f $builddir.wait then |