Each calll to a KUNIT_EXPECT_*() macro creates a local variable which
contains a struct kunit_assert.
Normally, we'd hope the compiler would be able to optimize this away,
but we've seen cases where it hasn't, see
https://groups.google.com/g/kunit-dev/c/i3fZXgvBrfA/m/GbrMNej2BAAJ.
In changes like commit
|
||
|---|---|---|
| .. | ||
| assert.h | ||
| resource.h | ||
| test-bug.h | ||
| test.h | ||
| try-catch.h | ||