Commit Graph

36 Commits

Author SHA1 Message Date
Tommaso Pecorella
52d6f390ef Better option - strip just the extension. 2020-09-01 12:17:14 +00:00
Tommaso Pecorella
6c60648d42 Allows --run to handle scripts ending in ".cc" 2020-09-01 12:17:14 +00:00
Alexander Krotov
269d982c7b Add --gdb option to run any program or test under gdb 2020-06-01 07:18:03 +03:00
Alexander Krotov
aa3b2c88cd wutils.py: raise WafError if both --valgrind and --command-template are specified
even if force_no_valgrind is True, as it is for Python tests
2020-06-01 07:18:03 +03:00
Tom Henderson
fd7c2917b5 fix broken waf --valgrind argument; also make compatible with Python 3 2015-11-15 09:15:28 -08:00
Tom Henderson
e02f7ad599 temporarily rollback a Python 3 related change 2015-09-07 22:52:47 -07:00
Siddharth Santurkar
b5fde4107c port wscripts, test.py, and waf-tools to Python3 2015-09-03 21:14:55 -07:00
Tom Henderson
1b4424dbcc bug 1869: append local build directory before recursing into modules 2014-03-13 06:37:04 -07:00
Vedran Miletić
bbdb4231b3 Upgrade waf to 1.7.10 and fix included wscripts
This is a massive upgrade removing almost all pre-waf 1.6 script code. In addition, this does away with custom pkgconfig.py script for making .pc files and replaces it with waf's builtin mechanism.

Massive thanks to Alex Afanasyev for ideas and bugfixing, to Alina Quereilhac for bugfixing and testing, and to Tom Henderson for thorough testing.
2013-04-01 22:33:46 +02:00
Gustavo J. A. M. Carneiro
f32be2eb6f Fix waf --run inside an example subdir 2012-04-17 11:26:31 +01:00
Gustavo J. A. M. Carneiro
ff6665898c Upgrade WAF from 1.6.10 to 1.6.11 2012-02-13 18:15:22 +00:00
Gustavo J. A. M. Carneiro
36c69f75ea Make sure waf --run name works with program names, regardless of any prefix/sufix applied for installation purposes 2012-01-14 00:40:15 +00:00
Gustavo J. A. M. Carneiro
3c26f19bb9 Patch the WAF task runner to fix performance, until the issue is fixed upstream. 2011-09-24 13:00:29 +01:00
Gustavo J. A. M. Carneiro
2b9ae311da Bug 1266 - gdb cannot be loaded 2011-09-23 11:58:59 +01:00
Gustavo J. A. M. Carneiro
acafde5087 Fix waf check 2011-09-20 11:23:59 +01:00
Gustavo J. A. M. Carneiro
c3059b6e68 Upgrade to waf-1.6.7, work in progress 2011-09-08 16:13:40 +01:00
ishan
1bf5abfd13 Bug 1081 - wutils.py refers to the old directory for visualizer module 2011-03-27 13:49:16 +01:00
Mitch Watrous
3f1b70a2bf Make test.py handle examples-to-run.py files 2011-03-09 16:49:59 -08:00
Mitch Watrous
e89bf95079 Move util.py functions into wutils.py 2011-03-08 16:03:45 -08:00
Gustavo J. A. M. Carneiro
de0af97b3a Codereview Issue 2692041: Add pyviz module 2010-12-06 17:26:06 +00:00
Mitch Watrous
23adf1034b Remove regression tests from waf 2010-10-15 16:31:32 -07:00
Gustavo J. A. M. Carneiro
b32b3207a4 Bug 894 - ./waf --run error message upon segfault 2010-04-23 15:55:15 +01:00
Craig Dowell
615c4e1c84 comparing with http://code.nsnam.org/ns-3-dev
searching for changes
changeset:   5930:0aaaaf92b988
user:        Andrey Mazo <mazo@iitp.ru>
date:        Fri Jan 29 21:28:04 2010 +0300
files:       wscript wutils.py
description:
Introduce NS3_EXECUTABLE_PATH variable similar to NS3_MODULE_PATH
(e.g. may be used for various sock-creators).
2010-02-05 10:15:18 -08:00
Craig Dowell
5649245bb0 Bug 792: Neither test.py nor waf --valgrind catch all kinds of memory leaks 2010-01-19 16:56:44 +01:00
Gustavo J. A. M. Carneiro
b0976ab1ae Fix win32/mingw bug running commands with command-template: needed to escape backslashes before calling shlex.split(). 2009-06-24 18:42:07 +01:00
Gustavo J. A. M. Carneiro
4b6439b386 Handle WindowsError exception in subprocess.Popen called from _run_argv 2009-06-24 16:12:09 +01:00
Gustavo J. A. M. Carneiro
ba5c9355f6 Force valgrind to not be used for Python tests 2009-04-21 11:13:19 +01:00
Gustavo J. A. M. Carneiro
7ddd83ed2c 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
62add283d4 Upgrade to WAF 1.5.4 2009-04-13 23:10:37 +01:00
Gustavo J. A. M. Carneiro
99165b12c4 Fix waf --pyrun bug 2009-02-10 17:14:41 +00: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
8e70ea9b96 Don't abuse os.chdir so much (not thread safe) 2009-01-18 22:47:25 +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
f19d54fddd Upgrade to new WAF, work in progress 2008-12-29 13:28:54 +00: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
e8e8e887d7 Refactor wscript code to move regression testing code to a separate python module (bug 325) 2008-11-18 13:48:26 +00:00