linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Add kselftest harness selftest with variant
@ 2025-06-16 12:23 Wei Yang
  2025-06-16 12:23 ` [PATCH 1/3] selftests: correct one typo in comment Wei Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Wei Yang @ 2025-06-16 12:23 UTC (permalink / raw)
  To: shuah, kees, luto, wad
  Cc: linux-kselftest, thomas.weissschuh, usama.anjum, skhan, Wei Yang

We already have a selftest for harness, while there is not usage of
FIXTURE_VARIANT.

Patch 3 add FIXTURE_VARIANT usage in the selftest.

Patch 1/2 are trivial fix.

Wei Yang (3):
  selftests: correct one typo in comment
  selftests: print 0 if no test is chosen
  selftests: harness: Add kselftest harness selftest with variant

 tools/testing/selftests/kselftest.h           |  2 +-
 tools/testing/selftests/kselftest_harness.h   |  2 +-
 .../kselftest_harness/harness-selftest.c      | 34 +++++++++++++++++++
 .../harness-selftest.expected                 | 22 +++++++++---
 4 files changed, 54 insertions(+), 6 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-06-18  9:12 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-16 12:23 [PATCH 0/3] Add kselftest harness selftest with variant Wei Yang
2025-06-16 12:23 ` [PATCH 1/3] selftests: correct one typo in comment Wei Yang
2025-06-17  7:31   ` Thomas Weißschuh
2025-06-17 23:52     ` Wei Yang
2025-06-16 12:23 ` [PATCH 2/3] selftests: print 0 if no test is chosen Wei Yang
2025-06-16 12:44   ` Muhammad Usama Anjum
2025-06-16 22:49     ` Wei Yang
2025-06-16 12:23 ` [PATCH 3/3] selftests: harness: Add kselftest harness selftest with variant Wei Yang
2025-06-16 12:45   ` Muhammad Usama Anjum
2025-06-18  0:05     ` Wei Yang
2025-06-17  7:35   ` Thomas Weißschuh
2025-06-17 23:57     ` Wei Yang
2025-06-18  5:47       ` Thomas Weißschuh
2025-06-18  8:16         ` Wei Yang
2025-06-18  9:12           ` Wei Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).