]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
torture: Add "ERROR" diagnostic for testing kernel-build output
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 5 Jun 2025 21:36:04 +0000 (14:36 -0700)
committerNeeraj Upadhyay (AMD) <neeraj.upadhyay@kernel.org>
Wed, 16 Jul 2025 04:14:04 +0000 (09:44 +0530)
Some recent kernel-build failures have featured "ERROR", so this commit
adds it to the list checked by kvm-build.sh.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay (AMD) <neeraj.upadhyay@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm-build.sh

index 11f8d232b0ee74b61953bb156feece6e882f1b80..3edfd064ef81500a6db08bdba07717f153cd2916 100755 (executable)
@@ -44,7 +44,7 @@ fi
 ncpus="`getconf _NPROCESSORS_ONLN`"
 make -j$((2 * ncpus)) $TORTURE_KMAKE_ARG > $resdir/Make.out 2>&1
 retval=$?
-if test $retval -ne 0 || grep "rcu[^/]*": < $resdir/Make.out | grep -E -q "Stop|Error|error:|warning:" || grep -E -q "Stop|Error|error:" < $resdir/Make.out
+if test $retval -ne 0 || grep "rcu[^/]*": < $resdir/Make.out | grep -E -q "Stop|ERROR|Error|error:|warning:" || grep -E -q "Stop|ERROR|Error|error:" < $resdir/Make.out
 then
        echo Kernel build error
        grep -E "Stop|Error|error:|warning:" < $resdir/Make.out