[PATCH 0/2] rust: kunit: add optional assertions to catch taint and lockdep warnings
Malte Wechter <[email protected]>
| Newsgroups | org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest,org.kernel.vger.rust-for-linux |
|---|---|
| Message-ID | <[email protected]> |
Add configs that enable extra assertions to be emitted to KUnit test cases. This makes a subset of concurrency related warnings fail unit test cases, and not stay as silent warnings. Signed-off-by: Malte Wechter <[email protected]> --- Malte Wechter (2): rust: kunit: add config to fail kunit tests if a lockdep warning is triggered rust: kunit: add config to fail kunit if TAINT_WARN is set lib/kunit/Kconfig | 24 ++++++++++++++++++++++++ rust/macros/kunit.rs | 21 +++++++++++++++++++++ 2 files changed, 45 insertions(+) --- base-commit: 8cdeaa50eae8dad34885515f62559ee83e7e8dda change-id: 20260812-lockdep-kunit-9628f4bcad90 Best regards, -- Malte Wechter <[email protected]>