diff options
author | Matthieu Baerts (NGI0) <matttbe@kernel.org> | 2024-09-06 21:46:07 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-09-10 02:52:04 +0300 |
commit | f58817c852e9c9eb8116c24d8271a35159636605 (patch) | |
tree | 29322aec23dbd628012d23b40da6b14147567552 /lib/argv_split.c | |
parent | a7e387375f22a4fd46c8ffcfa395a0ca8c186f9e (diff) | |
download | linux-f58817c852e9c9eb8116c24d8271a35159636605.tar.xz |
selftests: mptcp: lib: add time per subtests in TAP output
It adds 'time=<N>ms' in the diagnostic data of the TAP output, e.g.
ok 1 - pm_netlink: defaults addr list # time=9ms
This addition is useful to quickly identify which subtests are taking a
longer time than the others, or more than expected.
Note that there are no specific formats to follow to show this time
according to the TAP 13 [1], TAP 14 [2] and KTAP [3] specifications.
Let's then define this one here.
Link: https://testanything.org/tap-version-13-specification.html [1]
Link: https://testanything.org/tap-version-14-specification.html [2]
Link: https://docs.kernel.org/dev-tools/ktap.html [3]
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20240906-net-next-mptcp-ksft-subtest-time-v2-1-31d5ee4f3bdf@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/argv_split.c')
0 files changed, 0 insertions, 0 deletions