[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] v2: Simplify running specific tests on Windows

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 9 Dec 2009 21:10:52 +0200 (Jerusalem Standard Time)

Chris Foote wrote on Wed, 9 Dec 2009 at 07:04 -0800:
> Hi,
>
> I have incorporated both of Bert and Daniels suggestions into the patch (attached).
>

Thanks for implementing the suggestions. I've no time to review this
myself right now, unfortunately. But hopefully someone else can do
that.

Sorry,

Daniel

> 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.
> ]]]
>
>
>
>
Received on 2009-12-09 20:11:22 CET

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.