torture: Make torture.sh --allmodconfig testing fail on warnings
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 6 Jun 2025 10:47:11 +0000 (03:47 -0700)
committerNeeraj Upadhyay (AMD) <neeraj.upadhyay@kernel.org>
Wed, 16 Jul 2025 04:14:04 +0000 (09:44 +0530)
commit748d7923b53ff7bcb3d825ef765d8461d7af1794
treebe540955f30d3af8058411420ed2b84fe37111a8
parent17f4698a9e6092dd59e5dd616b21095ba9c8b6fe
torture: Make torture.sh --allmodconfig testing fail on warnings

Currently, the torture.sh --allmodconfig testing looks solely at the
exit code from the kernel build, and thus fails to flag many compiler
warnings.  This commit therefore checks the kernel-build output for
compiler diagnostics.

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