Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH 0/4] kunit: Add macros to help write more complex tests
@ 2024-08-21 14:43 Michal Wajdeczko
  2024-08-21 14:43 ` [PATCH 1/4] kunit: Introduce kunit_is_running() Michal Wajdeczko
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Michal Wajdeczko @ 2024-08-21 14:43 UTC (permalink / raw)
  To: linux-kselftest, kunit-dev
  Cc: Michal Wajdeczko, Rae Moar, David Gow, Lucas De Marchi

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@google.com>
Cc: David Gow <davidgow@google.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>

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


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-08-27 10:53 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-21 14:43 [PATCH 0/4] kunit: Add macros to help write more complex tests Michal Wajdeczko
2024-08-21 14:43 ` [PATCH 1/4] kunit: Introduce kunit_is_running() Michal Wajdeczko
2024-08-21 21:21   ` Rae Moar
2024-08-21 21:24   ` Lucas De Marchi
2024-08-22  6:13   ` David Gow
2024-08-21 14:43 ` [PATCH 2/4] kunit: Add macro to conditionally expose declarations to tests Michal Wajdeczko
2024-08-21 21:21   ` Rae Moar
2024-08-22  6:13   ` David Gow
2024-08-21 14:43 ` [PATCH 3/4] kunit: Allow function redirection outside of the KUnit thread Michal Wajdeczko
2024-08-21 21:32   ` Rae Moar
2024-08-21 21:47     ` Michal Wajdeczko
2024-08-21 21:38   ` Lucas De Marchi
2024-08-21 22:34     ` Michal Wajdeczko
2024-08-22  6:14   ` David Gow
2024-08-27 10:53     ` Michal Wajdeczko
2024-08-21 14:43 ` [PATCH 4/4] kunit: Add example with alternate function redirection method Michal Wajdeczko
2024-08-21 21:22   ` Rae Moar
2024-08-21 22:00     ` Michal Wajdeczko
2024-08-22 20:44       ` Rae Moar
2024-08-22  6:14   ` David Gow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox