mirror_ubuntu-kernels/tools/testing/selftests/net/lib/py
Jakub Kicinski 147997afaa selftests: net: ksft: avoid continue when handling results
Exception handlers print the result and use continue
to skip the non-exception result printing. This makes
inserting common post-test code hard. Refactor to
avoid the continues and have only one ktap_result() call.

Reviewed-by: Petr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/20240627185502.3069139-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-06-28 18:39:39 -07:00
..
__init__.py selftests: drv-net: construct environment for running tests which require an endpoint 2024-04-23 10:13:56 -07:00
consts.py selftests: net: add scaffolding for Netlink tests in Python 2024-04-08 11:40:41 +01:00
ksft.py selftests: net: ksft: avoid continue when handling results 2024-06-28 18:39:39 -07:00
netns.py selftests: drv-net: construct environment for running tests which require an endpoint 2024-04-23 10:13:56 -07:00
nsim.py net: selftest: add test for netdev netlink queue-get API 2024-05-08 18:59:47 -07:00
utils.py selftests: drv-net: rss_ctx: add tests for RSS configuration and contexts 2024-06-26 19:07:16 -07:00
ynl.py selftests: net: add scaffolding for Netlink tests in Python 2024-04-08 11:40:41 +01:00