mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Running kunit tests on platform devices
@ 2022-08-15  9:16 Ramon Fried
  2022-08-17  4:43 ` David Gow
  0 siblings, 1 reply; 5+ messages in thread
From: Ramon Fried @ 2022-08-15  9:16 UTC (permalink / raw)
  To: brendanhiggins, linux-kselftest, kunit-dev, LKML

Hi.
I implemented a test suite that checks a platform driver, that's the
only way I can test interrupts behavior in the code.
Because it's a platform, I can't use kunit_test_suite(), so I call
__kunit_test_suites_init() as part of the platform driver probe
function.

This works fine but has the following problems.
"TAP version 14" string is not printed and it's impossible to parse
the results using the script.
In addition, the suite is not displayed in /sys/kernel/debug/kunit.

It would be my pleasure to provide a patch that fixes this, I just
wanted to make sure that my testing strategy makes sense.

Thanks,
Ramon

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

end of thread, other threads:[~2022-08-18 18:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-15  9:16 Running kunit tests on platform devices Ramon Fried
2022-08-17  4:43 ` David Gow
2022-08-17 12:19   ` Ramon Fried
2022-08-18 18:08     ` Tales Lelo da Aparecida
2022-08-18 18:53       ` Ramon Fried

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

all inboxes | Powered by JetHome®