Commit Graph

133 Commits

Author SHA1 Message Date
Tom Henderson
2c19b5b453 internet: Remove Network Simulation Cradle (NSC) 2021-12-10 09:07:03 -08:00
Eduardo Almeida
6aa2d3238e Update Python scripts to the safer "with open() as" Python syntax 2021-05-11 23:38:30 +00:00
Ryan Mast
f0e34da5eb test.py: (merges !321) Distinguish between test suites and cases in output 2020-09-27 21:06:38 -07:00
Peter D. Barnes, Jr
5a11a33b10 test: add options --jobs to limit the number of worker threads in test.py 2020-03-24 14:57:39 -07:00
Peter D. Barnes, Jr
c8c1275852 Make test.py respect NOCOLOR like waf 2020-03-23 13:11:14 -07:00
SaiMyGuy (GCI 2019)
6a2d9d1bed test.py: Show progress of tests in numbers 2020-03-04 18:20:10 +05:30
Tommaso Pecorella
1c7378d13e test.py: partial revert of changes - python examples can not be used
with wildcards.
2020-01-19 02:23:40 +01:00
Tom Henderson
c5369c722b Fix python example invocation in test.py 2020-01-18 12:42:29 -08:00
Tommaso Pecorella
e0816d6397 Add --nocolor option to test.py 2020-01-18 10:28:47 +01:00
Tommaso Pecorella
e43e74d63b Add color output to tests 2020-01-09 14:05:40 +01:00
Tommaso Pecorella
664e58a968 Fix print of test kinds 2020-01-09 14:04:35 +01:00
Tommaso Pecorella
cf8ad56ced Add file name pattern matching to tests 2020-01-09 14:03:13 +01:00
Tom Henderson
0258405cc6 build: Upgrade scripts to Python 3 (many changes due to Ankit Deepak) 2019-08-12 16:55:34 -07:00
Alexander Krotov
6f54f2c347 test.py: style fixes 2018-12-27 12:59:23 +03:00
Alexander Krotov
4cd771c0c4 test.py: remove trailing whitespace 2018-12-27 12:24:03 +03:00
Peter D. Barnes, Jr.
91a5fa510a test: show reason a test/example was skipped 2018-11-06 12:30:43 -08:00
Manuel Requena
40d380b2b1 test: (fixes #2949) Exit test.py if incorrect fullness option used 2018-08-15 14:02:21 -07:00
Alexander Krotov
00bb6fe7f6 Spellcheck 2018-06-27 10:50:27 +03:00
Robert Ammon
5d5f67faa3 test: (fixes #2829) test.py produces malformed XML results 2018-01-04 13:28:16 -08:00
Alexander Krotov
4bbf7c5e1b test.py: (fixes #2743) Treat memory leaks as errors without parsing valgrind output
Valgrinds prints LEAK SUMMARY even if leak is suppressed.  Instead of
parsing valgrind output, which is error prone, it is possible to make
valgrind treat leaks as errors by passing "--show-leak-kinds=all"
argument.
2017-05-24 18:41:21 +03:00
Lauri Sormunen
54b20047fd build: (fixes #2630) Add contrib directory in parallel to src 2017-04-06 20:32:04 -07:00
Peter D. Barnes, Jr.
f19ad59e7c [test.py] Always run a single test suite specified with --suite=
We normally don't run performance tests unless explicitly requested with
"--constrain=performance", but this had the effect of ignoring a test
suite given explicitly with "--suite=..."

This patch runs a performance test without requiring an explicit
performance constraint.
2016-08-02 14:17:01 -07:00
Tom Henderson
9be85824a6 click: Fix detection of Waf configuration variable 2016-02-08 22:43:32 -08:00
Tom Henderson
b4a2ad6d11 bug 2199 postfix: make unicode decode() more robust 2015-10-30 14:58:58 -07:00
Natale Patriciello
03f1e6e7db bug 2199: Python 3 fix for test.py with valgrind option 2015-10-27 12:50:42 -07:00
Siddharth Santurkar
b5fde4107c port wscripts, test.py, and waf-tools to Python3 2015-09-03 21:14:55 -07:00
Peter D. Barnes, Jr.
eb4138894f test.py list formatting 2015-02-04 12:34:24 -08:00
Peter D. Barnes, Jr.
81f6d0c1c9 Sort and pretty-print result lists of SKIPped, FAILed, CRASHed and VALGR tests from ./test.py 2014-10-15 11:29:30 -07:00
Tom Henderson
4af772ceaa print error message when test.py list printing fails 2014-06-30 11:09:35 -07:00
Tom Henderson
ff1f9f9c5f append list of skipped/failed/crashed/valgrined tests to end of test.py output 2014-04-30 13:06:17 -07:00
Peter D. Barnes, Jr.
926f89eea2 Strip NS3_BUILDDIR from Example path. 2014-01-10 17:20:26 -08:00
Mitch Watrous
96fe3c2132 Bug 1710 - Examples crash when run like this: ./test.py -e example-name 2013-06-20 10:23:10 -07:00
Mitch Watrous
b11234bba3 Make examples again work for nonrelease builds 2013-06-19 13:55:49 -07:00
Mitch Watrous
5f1a54818f Bug 1707 - test.py doesn't work with the release profile 2013-06-19 11:17:17 -07:00
Mitch Watrous
dc9c9f08f4 Bug 1695 - improve test.py output when -g selected without valgrind 2013-06-14 16:31:10 -07:00
Mitch Watrous
54805f0915 Back out Bug 1695 fix 2013-06-13 14:27:04 -07:00
Mitch Watrous
e7475e5552 Bug 1695 - improve test.py output when -g selected without valgrind 2013-06-13 11:29:15 -07:00
Mitch Watrous
ae7af15b04 Allow three speeds of test cases to be skipped 2013-03-19 13:14:12 -07:00
Mitch Watrous
e040356d56 Allow very slow test cases to be skipped 2013-03-14 14:54:45 -07:00
Mitch Watrous
f986dff488 Add shell script that runs all examples with full logging turned on 2013-01-14 09:39:06 -08:00
Tom Henderson
df0417a5df bug 1563: reduce valgrind test scope 2013-01-13 21:12:00 -08:00
Brian Swenson
ae21650756 Brite Integration 2012-12-04 11:53:47 -05:00
Mitch Watrous
fbdc39460e Bug 1463 - ./test.py --example should automatically detect the path 2012-09-14 11:48:14 -07:00
Mitch Watrous
e2fec417ea Bug 1493 - test.py --list should show the test type 2012-09-12 14:59:21 -07:00
Mitch Watrous
271d248513 Bug 1494 - test.py --constrain doesn't work 2012-09-11 15:29:26 -07:00
Mitch Watrous
0d94e19894 Bug 1495 - test.py claims test passed when no test was run 2012-09-11 13:23:53 -07:00
Mitch Watrous
5ef163d11a Bug 1284 - ./test.py performance tests do not exist 2012-09-10 17:15:07 -07:00
Mitch Watrous
92a5cd99f5 Bug 1475: test.py --list should sort the output 2012-07-23 17:45:28 -07:00
Mitch Watrous
6b18ff36d7 Bug 1415 - examples-to-run.py doesn't work with command line arguments 2012-04-25 19:08:07 -07:00
Tom Henderson
90bb099e38 fix test.py comments 2012-04-02 06:57:07 -07:00