make -C tools/testing/selftests TARGETS=drivers/net TEST_PROGS=ping.py TESST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-17/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-17/tools/testing/selftests/drivers/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-17/tools/testing/selftests/drivers/net' make[1]: Entering directory '/home/virtme/testing-17/tools/testing/selftests/drivers/net' TAP version 13 1..1 # timeout set to 45 # selftests: drivers/net: ping.py # Traceback (most recent call last): # File "/home/virtme/testing-17/tools/testing/selftests/drivers/net/./ping.py", line 4, in # from lib.py import ksft_run, ksft_exit # File "/home/virtme/testing-17/tools/testing/selftests/drivers/net/lib/py/__init__.py", line 5, in # from .load import * # File "/home/virtme/testing-17/tools/testing/selftests/drivers/net/lib/py/load.py", line 5, in # from lib.py import ksft_pr, cmd, ip, rand_port, wait_port_listen # ImportError: cannot import name 'ksft_pr' from partially initialized module 'lib.py' (most likely due to a circular import) (/home/virtme/testing-17/tools/testing/selftests/drivers/net/lib/py/__init__.py) not ok 1 selftests: drivers/net: ping.py # exit=1 make[1]: Leaving directory '/home/virtme/testing-17/tools/testing/selftests/drivers/net' make: Leaving directory '/home/virtme/testing-17/tools/testing/selftests' xx__-> echo $? 0 xx__->