~/talk

Storing and Outputting Test Information: KUnit Attributes and KTAPv2

Talkat Linux Plumbers Conference 2023 · 2023-11-13..11-15· [testing]
name:Rae Moar
links:none on file
slides:none on file

Creates KUnit test attributes upstream to store supplemental data (speed and module name today) using flexible void-pointer attributes, exposes a struct and helper macros, and hooks into kunit filtering (k.filter and Python tooling). Outputs attribute blocks as proposed KTAP metadata lines so parsers can ignore or consume them. Practical result: filtering six slow tests cuts a 312-test run from ~10s to ~4s (and similar examples show 7s to 1s, ~89% faster).

AI-written summary · about

  1. 0:00Introduction
  2. 0:42Background on KUnit
  3. 2:29What is test information
  4. 4:37KUnit attributes project
  5. 6:41Benefits of filtering slow tests
  6. 7:48Potential KUnit attributes
  7. 8:28KTAPv2 and metadata proposal
  8. 11:58Q&A on KTAPv2 development
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.