]> git.dujemihanovic.xyz Git - linux.git/commit
Merge branch 'selftests-mptcp-add-time-per-subtests-in-tap-output'
authorJakub Kicinski <kuba@kernel.org>
Mon, 9 Sep 2024 23:52:06 +0000 (16:52 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 9 Sep 2024 23:52:39 +0000 (16:52 -0700)
commit3e3353527fbddbb22b90b3953909a70a0155f2d8
treebe6f2b0e1c1ac0781319027e61188c69cc52fc5a
parenta7e387375f22a4fd46c8ffcfa395a0ca8c186f9e
parenta92d1db0c989d4244d3a671d78f291606ed4ce35
Merge branch 'selftests-mptcp-add-time-per-subtests-in-tap-output'

Matthieu Baerts says:

====================
selftests: mptcp: add time per subtests in TAP output

Patches here add '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, TAP 14 and KTAP specifications, but we follow
the format being parsed by NIPA [1].

Patch 1 modifies mptcp_lib.sh to add this support to all MPTCP
selftests.

Patch 2 removes the now duplicated info in mptcp_connect.sh

Patch 3 slightly improves the precision of the first subtests in all
MPTCP subtests.

Patches 4 and 5 remove duplicated spaces in TAP output, for the TAP
parsers that cannot handle them properly.

v1: https://lore.kernel.org/20240902-net-next-mptcp-ksft-subtest-time-v1-0-f1ed499a11b1@kernel.org
Link: https://github.com/linux-netdev/nipa/pull/36
====================

Link: https://patch.msgid.link/20240906-net-next-mptcp-ksft-subtest-time-v2-0-31d5ee4f3bdf@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>