Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH 0/2] kunit: tool: test: Allow running with pytest
@ 2025-12-30 12:56 Thomas Weißschuh
  2025-12-30 12:56 ` [PATCH 1/2] kunit: tool: test: Rename test_data_path() to _test_data_path() Thomas Weißschuh
  2025-12-30 12:56 ` [PATCH 2/2] kunit: tool: test: Don't rely on implicit working directory change Thomas Weißschuh
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Weißschuh @ 2025-12-30 12:56 UTC (permalink / raw)
  To: Brendan Higgins, David Gow, Rae Moar
  Cc: linux-kselftest, kunit-dev, linux-kernel, Thomas Weißschuh

pytest can run unittest-based testsuites, like kunit_tool_test.py.
It has a more features than the standard runner.
Unfortunately a few minor issues currently break this.

Adapt the testsuite to work with pytest.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
Thomas Weißschuh (2):
      kunit: tool: test: Rename test_data_path() to _test_data_path()
      kunit: tool: test: Don't rely on implicit working directory change

 tools/testing/kunit/kunit_tool_test.py | 59 +++++++++++++++++-----------------
 1 file changed, 30 insertions(+), 29 deletions(-)
---
base-commit: a77b19b747c8a53ac16289685b0f77085a2ad553
change-id: 20251230-kunit-pytest-259a1eb36a42

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh@linutronix.de>


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

end of thread, other threads:[~2026-01-05  8:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-30 12:56 [PATCH 0/2] kunit: tool: test: Allow running with pytest Thomas Weißschuh
2025-12-30 12:56 ` [PATCH 1/2] kunit: tool: test: Rename test_data_path() to _test_data_path() Thomas Weißschuh
2026-01-05  8:56   ` David Gow
2025-12-30 12:56 ` [PATCH 2/2] kunit: tool: test: Don't rely on implicit working directory change Thomas Weißschuh
2026-01-05  8:56   ` David Gow

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