Re: [PATCH v5 0/5] kunit: Add support for suppressing warning backtraces

2025-06-02 Thread Maxime Ripard
On Mon, Jun 02, 2025 at 10:24:17AM +0300, Dan Carpenter wrote: > I like suppressing warning messages but there are still many cases, such > as mm/kasan/kasan_test_c.c where printing the warning message is the > whole point. > > We should create a standard way that test bots can filter out delibera

Re: [PATCH v5 0/5] kunit: Add support for suppressing warning backtraces

2025-06-02 Thread Dan Carpenter
I like suppressing warning messages but there are still many cases, such as mm/kasan/kasan_test_c.c where printing the warning message is the whole point. We should create a standard way that test bots can filter out deliberate errors from unintentional errors. This would also help humans who hav

[PATCH v5 0/5] kunit: Add support for suppressing warning backtraces

2025-05-26 Thread Alessandro Carminati
Some unit tests intentionally trigger warning backtraces by passing bad parameters to kernel API functions. Such unit tests typically check the return value from such calls, not the existence of the warning backtrace. Such intentionally generated warning backtraces are neither desirable nor useful