mbox series

[0/3] kunit: Improve format of some assertion messages

Message ID 20240821191412.2031-1-michal.wajdeczko@intel.com
Headers show
Series kunit: Improve format of some assertion messages | expand

Message

Michal Wajdeczko Aug. 21, 2024, 7:14 p.m. UTC
This is mostly a re-post of a series [1] that was apparently lost last year.

[1] https://lore.kernel.org/all/20230928133821.1467-1-michal.wajdeczko@intel.com/

Cc: David Gow <davidgow@google.com>
Cc: Rae Moar <rmoar@google.com>

Michal Wajdeczko (3):
  kunit: Improve format of the NOT_ERR_OR_NULL assertion
  kunit: Improve format of the PTR_EQ|NE|NULL assertion
  kunit: Improve format of the KUNIT_EXPECT_EQ assertion

 lib/kunit/assert.c | 64 ++++++++++++++++++++++++++++++++++++----------
 1 file changed, 50 insertions(+), 14 deletions(-)