[Ns-developers] Unit Tests

Andrea Sacco andrea.sacco85 at gmail.com
Thu Nov 17 00:55:57 PST 2011


Hi Mitch,

> Those test.py options work on my machine, which is Fedora Core 14.
>
> What operating system are you using?

I'm running ns-3-dev on Ubuntu 11.10 (Virtual Box Machine)

> What happens when you run test.py?

socket at socket-laptop:~/repos/ns-3-allinone/ns-3-dev$ ./test.py -c core
Waf: Entering directory `/home/socket/repos/ns-3-allinone/ns-3-dev/build'
Waf: Leaving directory `/home/socket/repos/ns-3-allinone/ns-3-dev/build'
'build' finished successfully (6.957s)

Modules built:
aodv                      applications              bridge
config-store              core                      csma
csma-layout               dsdv                      emu
energy                    flow-monitor              internet
lte                       mesh                      mobility
mpi                       netanim                   network
nix-vector-routing        olsr                      point-to-point
point-to-point-layout     propagation               spectrum
stats                     tap-bridge                template
test                      tools                     topology-read
uan                       virtual-net-device        visualizer
wifi                      wimax

Modules not built:
click                     openflow

0 of 0 tests passed (0 passed, 0 skipped, 0 failed, 0 crashed, 0
valgrind errors)

I get the same if I run test.py with the -c unit switch.

The only "tests" I'm able to run are examples, with the -c example
switch, which runs 72 examples, all passed..

Thanks,
Andrea


More information about the Ns-developers mailing list