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
Gustavo J. A. M. Carneiro
c3d38e018b
Run regression tests as WAF tasks, plus simplify how unit tests are declared. Closes #480 .
2009-01-24 12:25:52 +00:00
Gustavo J. A. M. Carneiro
04424f4e34
Don't abuse os.chdir so much (not thread safe)
2009-01-18 22:47:25 +00:00
Gustavo J. A. M. Carneiro
f97fa9826f
Cleanup: remove regression reference traces downloading code (moved to allinone)
2009-01-18 22:18:49 +00:00
Gustavo J. A. M. Carneiro
a8e8217e9d
waf --run now takes either full path to a program or just the (flat) program name, for all C++ programs
2009-01-18 19:59:46 +00:00
Gustavo J. A. M. Carneiro
6fcd2e8409
Remove no longer needed WAF command execution win32 workaround
2009-01-17 16:57:42 +00:00
Gustavo J. A. M. Carneiro
4057d88dc6
Remove the last remnants of local pybindgen handling (allinone takes care of pybindgen now)
2009-01-16 17:18:49 +00:00
Gustavo J. A. M. Carneiro
f5432092cb
Don't set a value for env['INCLUDEDIR']; pointless as it is not used. Should fix bug #466 .
2009-01-12 18:46:28 +00:00
Gustavo J. A. M. Carneiro
5ebda7502f
Upgrade WAF; fix Darwin (OSX) build problems.
2009-01-11 17:51:20 +00:00
Gustavo J. A. M. Carneiro
86cd28ea49
Gracefully ignore missing pkg-config
2009-01-10 19:05:32 +00:00
Gustavo J. A. M. Carneiro
ec697add96
Correct way to enable WAF autoconfigure
2009-01-03 23:14:32 +00:00
Gustavo J. A. M. Carneiro
5c045bdee1
New WAF cflags tool, to add back the compilation flags (debug/optimized)
2008-12-31 11:20:18 +00:00
Gustavo J. A. M. Carneiro
b576592431
Upgrade to new WAF, work in progress
2008-12-29 13:28:54 +00:00
gjc@inescporto.pt
bf112ff4dd
gustavo's retcode patch for regression
2008-12-17 12:42:02 -08:00
Gustavo J. A. M. Carneiro
9313b9abd5
Fix waf problem running programs with arguments.
2008-11-26 14:55:35 +00:00
Gustavo J. A. M. Carneiro
085b65f4e1
Make sure obj.name == obj.target for 'scratch' programs; fixes issue reported in ns-3-users with ./waf --run scratch/simple not working.
2008-11-26 11:44:47 +00:00
Gustavo J. A. M. Carneiro
3515f602da
Post-fix the last patch, to make sure invalid program names passed into --run trigger an informative error message as before.
2008-11-24 17:49:33 +00:00
Gustavo J. A. M. Carneiro
e7a3690fc0
When --run'ing a program, tell WAF to only build that program, nothing more.
...
This greatly speeds up compilation when all you want to do is run a test program, as it skips the time consuming linking to be done for all example programs.
--HG--
extra : transplant_source : %83%1A%A5%0A%C3%FD%F1%5E%17t%B1%C3%02%9A%BBg%E1/%BC%0F
2008-11-24 15:28:42 +00:00
Gustavo J. A. M. Carneiro
d55d11ff7f
Add a --with-regression-traces configure option, to allow using externally supplied regression traces instead of fetching them from the network.
2008-11-19 17:17:07 +00:00
Andrey Hippo
9a0848675e
Bug 387: Build fails with junk subdirectories in "scratch" directory
2008-11-18 14:05:47 +00:00
Gustavo J. A. M. Carneiro
cc06db773f
Refactor wscript code to move regression testing code to a separate python module (bug 325)
2008-11-18 13:48:26 +00:00
mathieu.lacage@sophia.inria.fr
ef9e9858bc
apply patch for bug 390 (regression tests can't open input files)
2008-11-05 19:45:40 -08:00
Craig Dowell
7c8cccada7
reverse sense of waf sudo flag to --enable-sudo
2008-10-30 13:00:16 -07:00
Craig Dowell
4ff27b338d
merge in tap device
2008-10-27 13:01:28 -07:00
Craig Dowell
8ef87360ae
Apply Sam's nsc regression patch
2008-09-17 20:04:26 -07:00
Gustavo J. A. M. Carneiro
cb94d3b2a6
Add python based csma-bridge regression test. Closes #344 .
2008-09-15 11:45:32 +01:00
Mathieu Lacage
99e73065c2
don't try to download traces if they are already there.
2008-09-14 11:39:58 -07:00
Gustavo J. A. M. Carneiro
4d40738a9e
Check for mercurial in configuration stage; also fixes OSError exception when mercurial was not available.
2008-09-11 11:44:39 +01:00
Gustavo J. A. M. Carneiro
4598009ddc
Make the WAF env available to regression tests
2008-09-11 11:35:42 +01:00
Gustavo J. A. M. Carneiro
b2ddd58a2f
Stop the /dev/null redirection abuse
2008-09-10 11:33:30 +01:00
Mathieu Lacage
6d40c259fe
fix typo to allow cloning traces when they are not there yet
2008-09-09 12:35:11 -07:00
Gustavo J. A. M. Carneiro
757cb2565f
Use subprocess.Popen instead of os.system to improve portability of the regression testing framework
2008-09-09 18:43:03 +01:00
Gustavo J. A. M. Carneiro
ffb90a6326
Move all NSC related build code into src/internet-stack, to unclutter a bit the main wscript
2008-09-05 19:55:21 +01:00
Gustavo J. A. M. Carneiro
bc7b5fb9eb
Exclude any possible 'nsc' folder from the dist tarball (nsc is ~= 100MB).
2008-09-05 18:42:59 +01:00
Gustavo J. A. M. Carneiro
c9204c386f
Add a summary of optional features at the end of the configuration stage.
2008-09-05 18:16:29 +01:00
Mathieu Lacage
839cae1189
bug 312: ./waf check fails.
2008-09-04 13:29:13 -07:00
Mathieu Lacage
e04377454f
merge with HEAD
2008-09-04 10:35:04 -07:00
Mathieu Lacage
35e1941d9c
add wifi+wired bridge example
2008-09-04 10:34:42 -07:00
Gustavo J. A. M. Carneiro
3a8b9ceb72
Adjust LD_LIBRARY_PATH for FreeBSD also; fallback to adjusting LD_LIBRARY_PATH when we don't know any better.
2008-09-04 18:30:38 +01:00
Florian Westphal
39342bee5b
nsc: enable network simulation cradle
...
This adds the hooks to allow the nsc code to be compiled into ns-3 if
the --nsc flag is specified during 'waf configure'.
2008-08-29 23:10:00 +02:00
Gustavo J. A. M. Carneiro
befc2b1860
Don't run python unit tests if python bindings not enabled. Closes #254 .
2008-07-16 17:44:42 +01:00