[PATCH] v2: Simplify running specific tests on Windows
From: Chris Foote <cafoote_at_yahoo.com>
Date: Wed, 9 Dec 2009 07:04:15 -0800 (PST)
Hi,
I have incorporated both of Bert and Daniels suggestions into the patch (attached).
This version of the patch adds the ability to specify one or more tests (and test numbers) to run on Windows.
The --test option takes the name of the test executable (with or without the "-test.exe"/"_tests.py" part). It can also take test number(s) to be run in those tests by appending #NUM to the test name.
e.g. win-tests.py --release --test=basic_tests.py -t client
win-tests.py --release --test=basic_tests.py#4 -t client#2,4-6
Regards
Chris
[[[
Make it easy to (re)run specific tests on windows by adding a --test/-t
option. The tests can also specify specific test number(s) to run.
* win-tests.py
(_usage_exit): Add the --test/-t option to the help.
(tests_to_run): New. List of tests to be run by the TestHarness.
* build/run_tests.py
(_run_test): Break the progname at a '#' and use the rhs as a list of
test numbers to run.
]]]
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.