Craig Dowell
94e51cf785
remind waf how to generate introspected doxygen
2009-10-08 17:57:06 -07:00
Craig Dowell
da3c615d6c
convince waf to run test.py on check command
2009-10-06 22:54:24 -07:00
Craig Dowell
69e1aaa1cf
split examples, add examples, tweak test.py to minimize builds
...
--HG--
rename : examples/csma-bridge-one-hop.cc => examples/csma/csma-bridge-one-hop.cc
rename : examples/csma-bridge.cc => examples/csma/csma-bridge.cc
rename : examples/csma-bridge.py => examples/csma/csma-bridge.py
rename : examples/csma-broadcast.cc => examples/csma/csma-broadcast.cc
rename : examples/csma-multicast.cc => examples/csma/csma-multicast.cc
rename : examples/csma-one-subnet.cc => examples/csma/csma-one-subnet.cc
rename : examples/csma-packet-socket.cc => examples/csma/csma-packet-socket.cc
rename : examples/csma-ping.cc => examples/csma/csma-ping.cc
rename : examples/csma-raw-ip-socket.cc => examples/csma/csma-raw-ip-socket.cc
rename : examples/csma-star.cc => examples/csma/csma-star.cc
rename : examples/emu-ping.cc => examples/emulation/emu-ping.cc
rename : examples/emu-udp-echo.cc => examples/emulation/emu-udp-echo.cc
rename : examples/simple-error-model.cc => examples/error-model/simple-error-model.cc
rename : examples/wifi-olsr-flowmon.py => examples/flowmon/wifi-olsr-flowmon.py
rename : examples/icmpv6-redirect.cc => examples/ipv6/icmpv6-redirect.cc
rename : examples/ping6.cc => examples/ipv6/ping6.cc
rename : examples/radvd-two-prefix.cc => examples/ipv6/radvd-two-prefix.cc
rename : examples/radvd.cc => examples/ipv6/radvd.cc
rename : examples/test-ipv6.cc => examples/ipv6/test-ipv6.cc
rename : examples/mesh.cc => examples/mesh/mesh.cc
rename : examples/object-names.cc => examples/naming/object-names.cc
rename : examples/realtime-udp-echo.cc => examples/realtime/realtime-udp-echo.cc
rename : examples/dynamic-global-routing.cc => examples/routing/dynamic-global-routing.cc
rename : examples/global-injection-slash32.cc => examples/routing/global-injection-slash32.cc
rename : examples/global-routing-slash32.cc => examples/routing/global-routing-slash32.cc
rename : examples/mixed-global-routing.cc => examples/routing/mixed-global-routing.cc
rename : examples/nix-simple.cc => examples/routing/nix-simple.cc
rename : examples/nms-p2p-nix.cc => examples/routing/nms-p2p-nix.cc
rename : examples/simple-alternate-routing.cc => examples/routing/simple-alternate-routing.cc
rename : examples/simple-global-routing.cc => examples/routing/simple-global-routing.cc
rename : examples/simple-point-to-point-olsr.cc => examples/routing/simple-point-to-point-olsr.cc
rename : examples/simple-routing-ping6.cc => examples/routing/simple-routing-ping6.cc
rename : examples/simple-routing-ping6.py => examples/routing/simple-routing-ping6.py
rename : examples/static-routing-slash32.cc => examples/routing/static-routing-slash32.cc
rename : examples/tap-wifi-dumbbell.cc => examples/tap/tap-wifi-dumbbell.cc
rename : examples/star.cc => examples/tcp/star.cc
rename : examples/tcp-large-transfer.cc => examples/tcp/tcp-large-transfer.cc
rename : examples/tcp-nsc-lfn.cc => examples/tcp/tcp-nsc-lfn.cc
rename : examples/tcp-nsc-zoo.cc => examples/tcp/tcp-nsc-zoo.cc
rename : examples/tcp-star-server.cc => examples/tcp/tcp-star-server.cc
rename : examples/virtual-net-device.cc => examples/tunneling/virtual-net-device.cc
rename : examples/first.cc => examples/tutorial/first.cc
rename : examples/first.py => examples/tutorial/first.py
rename : examples/hello-simulator.cc => examples/tutorial/hello-simulator.cc
rename : examples/second.cc => examples/tutorial/second.cc
rename : examples/third.cc => examples/tutorial/third.cc
rename : examples/udp-echo.cc => examples/udp/udp-echo.cc
rename : examples/mixed-wireless.cc => examples/wireless/mixed-wireless.cc
rename : examples/mixed-wireless.py => examples/wireless/mixed-wireless.py
rename : examples/multirate.cc => examples/wireless/multirate.cc
rename : examples/simple-wifi-frame-aggregation.cc => examples/wireless/simple-wifi-frame-aggregation.cc
rename : examples/wifi-adhoc.cc => examples/wireless/wifi-adhoc.cc
rename : examples/wifi-ap.cc => examples/wireless/wifi-ap.cc
rename : examples/wifi-ap.py => examples/wireless/wifi-ap.py
rename : examples/wifi-clear-channel-cmu.cc => examples/wireless/wifi-clear-channel-cmu.cc
rename : examples/wifi-wired-bridging.cc => examples/wireless/wifi-wired-bridging.cc
2009-10-06 19:34:29 -07:00
Gustavo J. A. M. Carneiro
17ee12e52d
typo
2009-10-05 15:32:12 +01:00
Craig Dowell
ed292b0d82
Doxygen and wscript messages point to test.py
2009-10-04 20:52:24 -07:00
Andrey Mazo
d67b733282
Bug 681: wrong compilation options for icpc (Intel C/C++ Compiler)
2009-09-25 12:28:32 +01:00
Gustavo J. A. M. Carneiro
be1af87f32
make sure we run the pybindgen command in --check and --regression
2009-09-16 14:26:46 +01:00
Craig Dowell
3375d82344
test framework should probably work on all supported machines
2009-09-12 20:00:36 -07:00
Gustavo J. A. M. Carneiro
beab916f61
Add a waf --doxygen-no-build option, for a quicker testing loop of doxygen documentation
2009-09-09 11:32:50 +01:00
Gustavo J. A. M. Carneiro
30fbe2a3f3
Fix waf --check error when python bindings are not enabled
2009-09-09 11:31:16 +01:00
Gustavo J. A. M. Carneiro
e34062cc1b
Bug #609 : --check and --regression should build only the required binaries
2009-09-07 11:59:10 +01:00
Gustavo J. A. M. Carneiro
ba4dfa1251
Bug #620 : Build system --run target seems to forget copying updated headers
2009-09-04 12:06:54 +01:00
Gustavo J. A. M. Carneiro
6a80ef786d
Print the names of unit tests that fail in the task collector
2009-06-30 10:46:57 +01:00
Mathieu Lacage
f6af7b5708
make dist generation work again
2009-06-25 14:15:27 +02:00
Mathieu Lacage
6d27614c45
remove dead code
2009-06-17 17:05:51 +02:00
Gustavo J. A. M. Carneiro
89cd710664
Bug #594 : cygwin won't build.
2009-06-17 11:26:36 +01:00
Gustavo J. A. M. Carneiro
35656ecd49
Run unit tests as indenpendent WAF tasks
2009-06-12 12:33:37 +01:00
Andrey Hippo
004b2e0c78
bug 567: --enable-static does not work on i686
2009-05-19 15:39:15 +02:00
Gustavo J. A. M. Carneiro
b70706157b
Don't event try to enable -Wl,--soname option if we're not on linux.
2009-05-18 14:10:49 +01:00
Gustavo J. A. M. Carneiro
9ceabf66c0
Add -Wl,--soname=libns3.so to link flags to allow dlopen hacks
...
Mathieu's explanation:
"""
In python, I want to load the ns3 python bindings without having to
install libns3.so in /usr and without having to configure
LD_LIBRARY_PATH. So, I need to dlopen (RTLD_GLOBAL) libns3.so before
doing imp.find_module ('ns3') to ensure that python finds the libns3.so
library. To do the dlopen, I need to give a full path to libns3.so but,
if you do this without a soname, the dynamic loader does not know about
libns3.so: it knows only about /foo/bar/libns3.so.
"""
2009-05-18 11:06:26 +01:00
Mathieu Lacage
b82b73b69d
improve wording
2009-05-05 16:08:36 +02:00
Mathieu Lacage
ee4bb6eaee
enable static builds on cygwin
2009-05-05 14:47:08 +02:00
Mathieu Lacage
3849226d90
enable darwin static builds
2009-05-05 12:00:29 +02:00
Mathieu Lacage
a84d860150
attempt to detect broken --enable-static invocations.
2009-05-04 20:21:37 +02:00
Mathieu Lacage
601ebfbcb9
enable static builds, even when python is enabled
2009-04-22 17:22:41 +02:00
Mathieu Lacage
813c247148
Backed out changeset 4d9d3ff807a9
...
Does not work on x86-64.
2009-04-22 13:59:10 +02:00
Mathieu Lacage
29eee5a487
enable static libns3 builds for python module
2009-04-22 13:06:22 +02:00
Mathieu Lacage
3e71ed9f98
bug 537: no support to build static ns-3 binaries
2009-04-21 14:38:47 +02:00
Gustavo J. A. M. Carneiro
b2ad45b199
Force valgrind to not be used for Python tests
2009-04-21 11:13:19 +01:00
Gustavo J. A. M. Carneiro
e993d90c0a
Make sure the 'g++ -print-file-name' code does not break if gcc doesn't know anything about the libstdc++.so file.
2009-04-21 10:55:07 +01:00
Gustavo Carneiro
99a22f34e9
bug 553: Running code built with a special gcc
2009-04-21 09:58:58 +02:00
Gustavo J. A. M. Carneiro
e23624bdb4
Fix a build script bug
2009-04-20 19:08:41 +01:00
Gustavo J. A. M. Carneiro
0ae37b092c
Upgrade to WAF 1.5.5
2009-04-20 17:39:54 +01:00
Gustavo J. A. M. Carneiro
699f2bebcb
Make the --enable-sudo option work correctly again
2009-04-19 14:51:51 +01:00
Gustavo J. A. M. Carneiro
01d6fc0643
Now _really_ fix #551
2009-04-17 15:11:07 +01:00
Gustavo J. A. M. Carneiro
8076f28b75
Enable the link option --enable-auto-import on cygwin; closes #525 .
2009-04-17 12:44:11 +01:00
Gustavo J. A. M. Carneiro
bd6983648c
script typo fix; bug #551 .
2009-04-16 22:20:37 +01:00
Gustavo J. A. M. Carneiro
5f617b4a2b
Detect valgrind memory leak reports; based on patch by Mathieu Lacage; closes bug #532
2009-04-16 16:47:02 +01:00
Gustavo J. A. M. Carneiro
0ecd5dcfaf
waf fix
2009-04-16 12:02:11 +01:00
Gustavo J. A. M. Carneiro
862dbd4b80
Upgrade to WAF 1.5.4
2009-04-13 23:10:37 +01:00
Gustavo J. A. M. Carneiro
dea759ea23
For regression testing, use python modules filecmp and difflib instead of an external diff command, to improve portability (e.g. mingw). Closes #330 .
2009-02-21 22:50:04 +00:00
Gustavo J. A. M. Carneiro
468b7837f4
WAF: fix Task.maxjobs=1 (for sudo); icc flags.
2009-02-14 14:02:40 +00:00
Craig Dowell
f9ad4ca187
work around to allow FreeBSD to run tap-bridge
2009-02-11 18:07:52 -08:00
Craig Dowell
0d3985dd34
tweak wifi example, fix waf problems (thanks to Gustavo)
2009-02-03 08:31:48 -08:00
Craig Dowell
d92eb133b5
fixed previous wscript mods not entirely successful
2009-01-31 20:59:13 -08:00
Craig Dowell
845655b71f
teach enable-sudo to be a config time thing
2009-01-31 20:48:05 -08:00
Craig Dowell
88da49ec52
checkpoint tap bridge
...
--HG--
rename : src/devices/tap-bridge/tap-sock-creator.cc => src/devices/tap-bridge/tap-creator.cc
2009-01-27 20:26:34 -08:00
Gustavo J. A. M. Carneiro
3f23a79dee
Bug #323 : waf --valgrind doesn't check for valgrind first
2009-01-24 18:09:29 +00:00
Gustavo J. A. M. Carneiro
5089b0c507
(from Tom Henderson) make valgrind return an error exit code when problems are detected. Closes #449 .
2009-01-24 15:51:09 +00:00
Gustavo J. A. M. Carneiro
ec9874258d
Try to guess the location of the reference traces, when --with-regression-traces is not given ( #478 )
2009-01-24 12:52:58 +00:00