Skip to content

release of KTAP version 2

Rae Moar kernelci linux-doc linux-kselftest lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/25 patches 0 repliesNew
  2. v1 posting 1/25 patches 0 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ktap_v2: change version to 2-rc in KTAP specificationDocumentation/dev-tools/ktap.rst+1 -10 replies
2/5ktap_v2: change "version 1" to "version 2" in examplesDocumentation/dev-tools/ktap.rst+12 -110 replies
3/5ktap_v2: add test metadataDocumentation/dev-tools/ktap.rst+244 -50 replies
4/5ktap_v2: formatting fixes to ktap specDocumentation/dev-tools/ktap.rst+1 -00 replies
5/5ktap_v2: change version to 2 in KTAP specificationDocumentation/dev-tools/ktap.rst+1 -10 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchRae MoarKees CookDavid Gow
1/5R-b
2/5R-b
3/5R-b R-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH RESEND 0/5] release of KTAP version 2

Hi all! I wanted to resend out this series to respark the discussion on KTAP version 2. Many of the features proposed are already in use by KUnit. This would add these features to the KTAP documentation. Note that all the features of KTAP v2 are backwards compatible. Also, today is my last day at Google so I will be responding with my personal email afterwards.

--

This patch series represents the final release of KTAP version 2.

There have been open discussions on version 2 for just over 2 years. This patch series marks the end of KTAP version 2 development and beginning of the KTAP version 3 development.

The largest component of KTAP version 2 release is the addition of test metadata to the specification. KTAP metadata could include any test information that is pertinent for user interaction before or after the running of the test. For example, the test file path or the test speed.

Example of KTAP Metadata:

KTAP version 2
#:ktap_test: main
#:ktap_arch: uml
1..1

     KTAP version 2
     #:ktap_test: suite_1
     #:ktap_subsystem: example
     #:ktap_test_file: lib/test.c
     1..2
     ok 1 test_1
     #:ktap_test: test_2
     #:ktap_speed: very_slow
     # test_2 has begun
     #:custom_is_flaky: true
     ok 2 test_2
 # suite_1 has passed
 ok 1 suite_1

The release also includes some formatting fixes and changes to update the specification to version 2.

Frank Rowand (2):
ktap_v2: change version to 2-rc in KTAP specification
ktap_v2: change "version 1" to "version 2" in examples

Rae Moar (3):
ktap_v2: add test metadata
ktap_v2: formatting fixes to ktap spec
ktap_v2: change version to 2 in KTAP specification

 Documentation/dev-tools/ktap.rst | 273 +++++++++++++++++++++++++++++--
 1 file changed, 257 insertions(+), 16 deletions(-)

base-commit: 9de5f847ef8fa205f4fd704a381d32ecb5b66da9

Signature · 1 line
2.51.2.1041.gc1ab5b90ca-goog