Messages in this thread | | | Date | Thu, 17 Aug 2023 18:39:19 +0100 | From | Mark Brown <> | Subject | Re: [RFC PATCH 2/2] kselftest: Add Devicetree unprobed devices test |
| |
On Thu, Aug 17, 2023 at 12:17:38PM -0400, Nícolas F. R. A. Prado wrote: > On Thu, Aug 17, 2023 at 01:26:05PM +0100, Mark Brown wrote:
> > I'm not clear why KTAP would require C?
> When going through the documentation there was only mention of the C headers for > the kselftest framework which outputs using the KTAP format, so I thought that > was the only acceptable option.
> But in the meantime while looking through the other tests I saw you've recently > added ktap output to ftrace/ftracetest. The newly added test in > net/mptcp/mptcp_lib.sh also has its own helpers for outputting in KTAP. There > are also a couple other cases of this in python.
> So I can definitely do the same for this test.
Right, KTAP is a format specification for what appears on stdout - how that output is generated is immaterial. It's just that most tests are written in C so that's where the helpers are. [unhandled content-type:application/pgp-signature] | |