That is strange; I have a Catalina 10.15.2 machine with Xcode command
line tools version 11.3 installed, and it runs all tests for me. My
Python version is 3.7.3.
Please try the following and share the output:
$ ./test.py -s lte-handover-delay -vvv
For me, it shows:
os.environ["PYTHONPATH"] ==
/path/to/ns-allinone-3.30.1/ns-3.30.1/build/bindings/python
os.environ["DYLD_LIBRARY_PATH"] ==
:/path/to/ns-allinone-3.30.1/ns-3.30.1/build/lib
Synchronously execute
/path/to/ns-allinone-3.30.1/ns-3.30.1/build/utils/ns3.30.1-test-runner-debug
--print-test-name-list
Return code = 0
stderr =
Queue lte-handover-delay
Launch utils/ns3.30.1-test-runner-debug --test-name=lte-handover-delay
--stop-on-failure --fullness=QUICK
Synchronously execute
/path/to/ns-allinone-3.30.1/ns-3.30.1/build/utils/ns3.30.1-test-runner-debug
--test-name=lte-handover-delay --stop-on-failure --fullness=QUICK --xml
--tempdir=testpy-output/2020-01-09-16-57-40-CUT
--out=testpy-output/2020-01-09-16-57-40-CUT/lte-handover-delay.xml
Return code = 0
stderr =
returncode = 0
---------- begin standard out ----------
---------- begin standard err ----------
---------- end standard err ----------
PASS: TestSuite lte-handover-delay
1 of 1 tests passed (1 passed, 0 skipped, 0 failed, 0 crashed, 0
valgrind errors)
You can see from this output that calling './test.py -s ...' makes an
underlying call to run the program:
build/utils/ns3.30.1-test-runner-debug --test-name=lte-handover-delay
--stop-on-failure --fullness=QUICK