Adriano Scoditti
9f523216ea
Update waf_unit_test command logging to be compatible with 'WAF_CMD_FORMAT'
2018-10-03 17:34:08 +02:00
Thomas Nagy
1a43b608ac
Enable deep input dependencies as a task decorator
2018-02-17 18:40:29 +01:00
Thomas Nagy
a7546a2d22
Fix Python 3 encoding for unit tests #2108
2018-02-14 21:06:48 +01:00
Thomas Nagy
deacb94c93
Force unit tests to depend on the executable creation time
2018-01-24 20:56:40 +01:00
Thomas Nagy
d21446ff71
Update docs for 2018
2018-01-01 20:53:49 +01:00
Thomas Nagy
bda66f00c3
docs
2017-12-10 21:43:38 +01:00
Van de Bugger
f4dca02af6
Unit test summary color scheme fixed to use green and red colors
...
Red color is used for failed tests, green color is used for passed
tests.
2017-11-12 11:35:04 +01:00
Karl Linden
01e017cfc2
Make unit testing interpreted scripts work.
2017-09-04 21:07:20 +02:00
Thomas Nagy
b5408091b3
Cleanup unused global statements
2017-09-02 23:34:15 +02:00
Adriano Scoditti
fa1a44c115
Fix 'shell' attribute on waf_unit_test:exec_command() Popen call using the same logic defined in Context:exec_command()
2017-08-28 20:23:41 +02:00
Thomas Nagy
ff0b65ff14
Split unit test commands by shlex
2017-08-27 10:56:06 +02:00
Thomas Nagy
b7d93c3c4d
Update the year in headers to 2017
2017-02-11 16:13:37 +01:00
Thomas Nagy
9c87928f33
Removed ut_fun from waf_unit_test.py
2016-11-20 10:21:19 +01:00
Thomas Nagy
af66a27da3
Specify shell usage in test script execution
2016-11-19 00:11:46 +01:00
Thomas Nagy
bdb18e8394
Changed --dump-test-runner to --dump-test-scripts
2016-11-19 00:03:55 +01:00
fedepell
e8942d7f22
waf_unit_test: add new option --dump-test-runner that creates python scripts to manually run or debug test executions
...
this can be very useful when debugging unit test problems as when run outside waf then the LD_LIBRARY_PATH (or PYTHONPATH if used with pytest extra) is set dynamically by waf and therefore running the executable manually or via gdb is not immediate
all the environment will be dumped in python script that can then be executed to run manually tests.
2016-11-18 23:40:59 +01:00
Thomas Nagy
fc02c1d42a
Api docs
2016-06-25 20:10:04 +02:00
fedepell
567ab43ac2
Manage case in unit_test running when LD_LIBRARY_PATH is not already defined in the environment
2016-06-21 09:13:57 +02:00
Thomas Nagy
764645a014
Reduce the amount of paths added to unit test environment variable PATH
2016-06-17 22:02:41 +02:00
Thomas Nagy
16aeb5756a
Extended unit test program parameters
2016-06-17 20:18:06 +02:00
fedepell
d202190cd0
Fix: when using the ut_cmd or Option --testcmd, if the test command line has parameters (added for example with the ut_fun method as in the examples)
...
this will be lost as just ut_exec[0] was used. Now join the command line before using it in substition.
2016-06-12 23:59:07 +02:00
Thomas Nagy
3430e18205
New option in waf_unit_tests --clear-failed - Issue 1678
2016-01-05 15:20:56 +01:00
Thomas Nagy
10f0efd217
Issue 1319 - make unit test paths more configurable
2014-09-21 11:03:34 +02:00
Thomas Nagy
69c1fb1fec
Issue 1319 - make unit test paths more configurable
2014-09-21 10:58:52 +02:00
Thomas Nagy
9a782b0179
Issue 1322
2014-09-20 17:41:10 +02:00
Thomas Nagy
8e7c583496
add bld(ut_cmd=True) to enable specific test execution commands - Issue 1438
2014-04-14 18:54:04 +02:00
Jérôme Carretero
d6dd3fd8ab
Tools: unit test: fix indentation
2013-09-04 23:20:51 -04:00
Thomas Nagy
760d0f875c
Issue 1319 Reduce the amount of paths for the unit test execution
2013-05-19 08:49:40 +02:00
Harald Klimach
2d29dfc528
Issue 1245
2013-01-08 19:45:14 +01:00
Thomas Nagy
57afd10abc
stupid race condition, issue #1200
2012-09-19 08:11:42 +02:00
Thomas Nagy
ecfd580227
Issue 1194
2012-09-13 06:07:26 +02:00
Thomas Nagy
68a5675914
more powerpc fixes
2011-11-19 13:35:21 +01:00
Thomas Nagy
44a967e326
Initial commit
2011-09-10 11:13:51 +02:00