]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
tools/lib/lockdep/tests: Display compiler warning and error messages
authorBart Van Assche <bvanassche@acm.org>
Fri, 7 Dec 2018 01:11:25 +0000 (17:11 -0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 11 Dec 2018 13:54:47 +0000 (14:54 +0100)
commitda087b2229618f78ecea5c203fed8ba2245de636
tree35c5ac3e102efbac361f4af372216fc8660a9218
parent2421b7f3573babfe1673a5ffee1677a5013e6df1
tools/lib/lockdep/tests: Display compiler warning and error messages

If compilation of liblockdep fails, display an error message and exit
immediately. Display compiler warning and error messages that are
generated while building a test. Only run a test if compilation of it
succeeded.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Waiman Long <longman@redhat.com>
Cc: johannes.berg@intel.com
Cc: tj@kernel.org
Link: https://lkml.kernel.org/r/20181207011148.251812-2-bvanassche@acm.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/lib/lockdep/run_tests.sh