aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2024-04-12 07:14:33 -0700
committerJakub Kicinski <[email protected]>2024-04-15 11:21:12 -0700
commiteeb409bde964df1956297b6775ff5f53dd98d556 (patch)
tree722e3e14deeffa318c5f62ec8b1f48d2869fa64b /tools/testing/selftests/net/lib/py/utils.py
parent72ba6cba0a6e9f06c09187ddbbdc9f80ee93ffb3 (diff)
selftests: net: print report check location in python tests
Developing Python tests is a bit annoying because when test fails we only print the fail message and no info about which exact check led to it. Print the location (the first line of this example is new): # At /root/ksft-net-drv/./net/nl_netdev.py line 38: # Check failed 0 != 10 not ok 3 nl_netdev.page_pool_check Reviewed-by: Petr Machata <[email protected]> Link: https://lore.kernel.org/r/[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