forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
Showing
4 changed files
with
21 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ | |
# Authors: Paul E. McKenney <[email protected]> | ||
|
||
PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH | ||
. tools/testing/selftests/rcutorture/bin/functions.sh | ||
for rd in "$@" | ||
do | ||
firsttime=1 | ||
|
@@ -39,13 +40,24 @@ do | |
fi | ||
TORTURE_SUITE="`cat $i/../TORTURE_SUITE`" | ||
kvm-recheck-${TORTURE_SUITE}.sh $i | ||
configcheck.sh $i/.config $i/ConfigFragment | ||
parse-build.sh $i/Make.out $configfile | ||
parse-torture.sh $i/console.log $configfile | ||
parse-console.sh $i/console.log $configfile | ||
if test -r $i/Warnings | ||
if test -f "$i/console.log" | ||
then | ||
cat $i/Warnings | ||
configcheck.sh $i/.config $i/ConfigFragment | ||
parse-build.sh $i/Make.out $configfile | ||
parse-torture.sh $i/console.log $configfile | ||
parse-console.sh $i/console.log $configfile | ||
if test -r $i/Warnings | ||
then | ||
cat $i/Warnings | ||
fi | ||
else | ||
if test -f "$i/qemu-cmd" | ||
then | ||
print_bug qemu failed | ||
else | ||
print_bug Build failed | ||
fi | ||
echo " $i" | ||
fi | ||
done | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters