Commit Graph

21 Commits

Author SHA1 Message Date
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