Skip to content

Commit 6bcaf2a

Browse files
committed
torture: Correctly summarize build-only runs
Currently, kvm-recheck.sh complains that qemu failed for --buildonly runs, which is sort of true given that qemu can hardly succeed if not invoked in the first place. Nevertheless, this commit swaps the order of checks in kvm-recheck.sh so that --buildonly runs will be summarized more straightforwardly. Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 603d11a commit 6bcaf2a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tools/testing/selftests/rcutorture/bin/kvm-recheck.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ do
5656
cat $i/Warnings
5757
fi
5858
else
59-
if test -f "$i/qemu-cmd"
60-
then
61-
print_bug qemu failed
62-
echo " $i"
63-
elif test -f "$i/buildonly"
59+
if test -f "$i/buildonly"
6460
then
6561
echo Build-only run, no boot/test
6662
configcheck.sh $i/.config $i/ConfigFragment
6763
parse-build.sh $i/Make.out $configfile
64+
elif test -f "$i/qemu-cmd"
65+
then
66+
print_bug qemu failed
67+
echo " $i"
6868
else
6969
print_bug Build failed
7070
echo " $i"

0 commit comments

Comments
 (0)