aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2024-06-27 18:55:00 +0000
committerJakub Kicinski <[email protected]>2024-06-29 01:39:39 +0000
commit147997afaad0ce4835233e7fddacc9e2be7eb087 (patch)
treea37a7ba1c0e02b6f94fee5518b0de592a60f92d5 /tools/testing/selftests/net/lib/py/utils.py
parentenic: add ethtool get_channel support (diff)
downloadkernel-147997afaad0ce4835233e7fddacc9e2be7eb087.tar.gz
kernel-147997afaad0ce4835233e7fddacc9e2be7eb087.zip
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions