post_process_single(logfile => $logfile, collection => $collection, test => @test);
Post process a single generic selftest output file that can be written from any runner into a single valid KTAP output for openQA with the known issues correctly tagged.
logfile
path to the file from the runner collection
the selftest collection to parse (e.g. `bpf`, `livepatch`, `cgroup`, etc) test
the subtest name to parse test_index
the current index of the test ktap
the initial KTAP header array
Returns the KTAP output, the number of soft and hardfails
post_process(logfile => $logfile, collection => $collection, tests => @tests);
Post process all the Kselftests output into a single valid KTAP output file for openQA with the known issues correctly tagged.
logfile
path to the summary ktap file from `run_kselftest.sh` collection
the selftest collection to parse (e.g. `bpf`, `livepatch`, `cgroup`, etc) tests
array of the individual subtests to parse
Returns the KTAP output, the number of soft and hard fails