Re: [KTAP V2 PATCH] ktap_v2: add skip test result
From: Frank Rowand
Date: Wed Mar 15 2023 - 17:45:38 EST
On 3/15/23 07:53, Mark Brown wrote:
> On Tue, Mar 14, 2023 at 06:03:59PM -0400, Rae Moar via groups.io wrote:
>
>> One thing to note on the created churn: I have noticed a proportion of
>> kselftests currently implement skipped tests in a way that does not
>> use the SKIP directive. They use a comment of the format "# [SKIP]"
>> prior to a test result line with no SKIP directive. Thus, in order to
>> reach KTAP compliance the way skip tests are handled would need to be
>> changed in these cases anyways.
>
> This is the documented way of reporting a skip in KTAP:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/dev-tools/ktap.rst#n97
>
> TBH I'm finding it really hard to summon much enthusiasm for changing
> this except as part of some other incompatible update - the current
> format isn't ideal but deploying a change would be a bunch of hassle for
> the existing test automation systems.
Yes, there is no need to do a single specification change that results
in incompatibility. But given the previous discussions there seem to
be plenty of other desired changes that will result in incompatibility.
My desire is to take our time to capture as much of the desired changes
as possible in version 2 of the specification. And an expectation that
there will not need to be a version 3 of the specification for many years.
I will support not rushing version 2 of the specification so that this
goal can be realized.