[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c998b1ce-5515-4773-92e2-a88a0c7bd4ff@sirena.org.uk>
Date: Thu, 17 Aug 2023 18:39:19 +0100
From: Mark Brown <broonie@...nel.org>
To: NĂcolas F. R. A. Prado
<nfraprado@...labora.com>
Cc: Rob Herring <robh+dt@...nel.org>,
Frank Rowand <frowand.list@...il.com>,
Shuah Khan <shuah@...nel.org>, cocci@...ia.fr,
Nicolas Palix <nicolas.palix@...g.fr>,
kernelci@...ts.linux.dev, Julia Lawall <Julia.Lawall@...ia.fr>,
Bjorn Andersson <andersson@...nel.org>, kernel@...labora.com,
Guenter Roeck <groeck@...omium.org>,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org
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.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists