Hi all,
Before asking my question, I wanted to thank Marco and Nicola for their quick and very helpful replies.
I want to debug
lte-test-phy-error-model.cc test suite in eclipse. Using the instruction in
http://www.nsnam.org/wiki/index.php/HOWTO_configure_Eclipse_with_ns-3, I have configured debugger and set the parameters.
In debug configuration, I have set "
build/utils/ns3-dev-test-runner-debug" under the "C/C++ Application" section. Moreover, I typed "--suite=lte-phy-error-model --out=output.txt" in Arguments.
When I run it, the test name and output file are set properly, however there is
no test suite to be tested in the test.cc and
consequently the list of test cases is empty.
(1) How can I debug a test suite in eclipse?My goal is to investigate the output of lte-test-phy-error-model.cc. I ran this test suite via the command:
./waf --run "test-runner --suite=lte-phy-error-model --out=output.txt"
Surprisingly, I found that only a single control and a single data test cases are executed and the output is:
Test downlink control channels (PCFICH+PDCCH)
Test with 2 eNB(s) at distance 1078 expected BER 0.007
User 0 imsi 1 bytes rxed 0 txed 0 BER -nan Err nan
Test downlink/uplink data shared channels (PDSCH and PUSCH)
Test with 4 user(s) at distance 1800 expected BER 0.33
User 0 imsi 1 bytes rxed 0 txed 0 BER -nan Err nan lambda 0 np 0 difference 0 quantile 50
User 1 imsi 2 bytes rxed 0 txed 0 BER -nan Err nan lambda 0 np 0 difference 0 quantile 50
User 2 imsi 3 bytes rxed 0 txed 0 BER -nan Err nan lambda 0 np 0 difference 0 quantile 50
User 3 imsi 4 bytes rxed 0 txed 0 BER -nan Err nan lambda 0 np 0 difference 0 quantile 50
(2) Why are "rxed" and "txed" 0, and how the final result of testing te-phy-error-model is "PASS"?Thanks in advance,
Narges