Commit Graph

142 Commits

Author SHA1 Message Date
Gustavo J. A. M. Carneiro
a559b31710 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
07146ac480 WAF: fix Task.maxjobs=1 (for sudo); icc flags. 2009-02-14 14:02:40 +00:00
Craig Dowell
ee291dcfbe work around to allow FreeBSD to run tap-bridge 2009-02-11 18:07:52 -08:00
Craig Dowell
c7395b55e0 tweak wifi example, fix waf problems (thanks to Gustavo) 2009-02-03 08:31:48 -08:00
Craig Dowell
bc06ad1027 fixed previous wscript mods not entirely successful 2009-01-31 20:59:13 -08:00
Craig Dowell
c79b8da6e9 teach enable-sudo to be a config time thing 2009-01-31 20:48:05 -08:00
Craig Dowell
738d71e954 checkpoint tap bridge 2009-01-27 20:26:34 -08:00
Gustavo J. A. M. Carneiro
ca8a6c03df Bug #323: waf --valgrind doesn't check for valgrind first 2009-01-24 18:09:29 +00:00
Gustavo J. A. M. Carneiro
3cc5929ab6 (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
2e2fd95111 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
b2c212c239 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
8e70ea9b96 Don't abuse os.chdir so much (not thread safe) 2009-01-18 22:47:25 +00:00
Gustavo J. A. M. Carneiro
ae5749aea7 Cleanup: remove regression reference traces downloading code (moved to allinone) 2009-01-18 22:18:49 +00:00
Gustavo J. A. M. Carneiro
587ee24f71 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
8731761fcd Remove no longer needed WAF command execution win32 workaround 2009-01-17 16:57:42 +00:00
Gustavo J. A. M. Carneiro
5ef24fc287 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
dd94e9fa76 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
9ae3c42512 Upgrade WAF; fix Darwin (OSX) build problems. 2009-01-11 17:51:20 +00:00
Gustavo J. A. M. Carneiro
baf080b530 Gracefully ignore missing pkg-config 2009-01-10 19:05:32 +00:00
Gustavo J. A. M. Carneiro
88d40d0dda Correct way to enable WAF autoconfigure 2009-01-03 23:14:32 +00:00
Gustavo J. A. M. Carneiro
4a6cf7bff1 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
f19d54fddd Upgrade to new WAF, work in progress 2008-12-29 13:28:54 +00:00
Unknown
e79dc16688 gustavo's retcode patch for regression 2008-12-17 12:42:02 -08:00
Gustavo J. A. M. Carneiro
80b1ce258d Fix waf problem running programs with arguments. 2008-11-26 14:55:35 +00:00
Gustavo J. A. M. Carneiro
378f7e02be 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
35b28c656c 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
ee16e0ad83 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.
2008-11-24 15:28:42 +00:00
Gustavo J. A. M. Carneiro
7bd84c12ac 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
fec6ea6ae2 Bug 387: Build fails with junk subdirectories in "scratch" directory 2008-11-18 14:05:47 +00:00
Gustavo J. A. M. Carneiro
e8e8e887d7 Refactor wscript code to move regression testing code to a separate python module (bug 325) 2008-11-18 13:48:26 +00:00
mathieu.
83ac2144c0 apply patch for bug 390 (regression tests can't open input files) 2008-11-05 19:45:40 -08:00
Craig Dowell
c6a12a1308 reverse sense of waf sudo flag to --enable-sudo 2008-10-30 13:00:16 -07:00
Craig Dowell
622ced4462 merge in tap device 2008-10-27 13:01:28 -07:00
Craig Dowell
4105b6e392 Apply Sam's nsc regression patch 2008-09-17 20:04:26 -07:00
Gustavo J. A. M. Carneiro
6c7aa38c60 Add python based csma-bridge regression test. Closes #344. 2008-09-15 11:45:32 +01:00
Mathieu Lacage
0c7ed36240 don't try to download traces if they are already there. 2008-09-14 11:39:58 -07:00
Gustavo J. A. M. Carneiro
a4aeb6e815 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
f13ffe2ed2 Make the WAF env available to regression tests 2008-09-11 11:35:42 +01:00
Gustavo J. A. M. Carneiro
b0f7bbf060 Stop the /dev/null redirection abuse 2008-09-10 11:33:30 +01:00
Mathieu Lacage
c8929f34e6 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
6f10c6c828 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
b9a4eaca8e 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
f77da8c755 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
453dd8a294 Add a summary of optional features at the end of the configuration stage. 2008-09-05 18:16:29 +01:00
Mathieu Lacage
f759d0c1d2 bug 312: ./waf check fails. 2008-09-04 13:29:13 -07:00
Mathieu Lacage
a8dca1e3d3 merge with HEAD 2008-09-04 10:35:04 -07:00
Mathieu Lacage
18b6ad7263 add wifi+wired bridge example 2008-09-04 10:34:42 -07:00
Gustavo J. A. M. Carneiro
fd7fc3f80e 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
235ac2801f 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
8cc54510ba Don't run python unit tests if python bindings not enabled. Closes #254. 2008-07-16 17:44:42 +01:00