[PATCH 0/4] kunit: Add macros to help write more complex tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It was suggested to promote some of the ideas introduced by [1] to be
a part of the core KUnit instead of keeping them locally.

[1] https://patchwork.freedesktop.org/series/137095/

Cc: Rae Moar <rmoar@xxxxxxxxxx>
Cc: David Gow <davidgow@xxxxxxxxxx>
Cc: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>

Michal Wajdeczko (4):
  kunit: Introduce kunit_is_running()
  kunit: Add macro to conditionally expose declarations to tests
  kunit: Allow function redirection outside of the KUnit thread
  kunit: Add example with alternate function redirection method

 include/kunit/static_stub.h    | 80 ++++++++++++++++++++++++++++++++++
 include/kunit/test-bug.h       | 12 ++++-
 include/kunit/visibility.h     |  8 ++++
 lib/kunit/kunit-example-test.c | 63 ++++++++++++++++++++++++++
 lib/kunit/static_stub.c        | 21 +++++++++
 5 files changed, 182 insertions(+), 2 deletions(-)

-- 
2.43.0





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux