[Cython] Test runner
robertwb at math.washington.edu
Tue Apr 12 15:10:05 CEST 2011
On Mon, Apr 11, 2011 at 3:56 AM, mark florisson
<markflorisson88 at gmail.com> wrote:
> On 11 April 2011 12:53, mark florisson <markflorisson88 at gmail.com> wrote:
>> On 11 April 2011 12:45, Stefan Behnel <stefan_ml at behnel.de> wrote:
>>> mark florisson, 11.04.2011 12:26:
>>>> Can we select tests in the tests directory selectively? I see the -T
>>>> or --ticket option, but it doens't seem to find the test tagged with #
>>>> ticket:<number here>.
>>>> I can select unit tests using python runtests.py
>>>> Cython.SubPackage.Tests.SomeTest, but I can't seem to do the same
>>>> thing for tests in the tests directory. Running the entire suite takes
>>>> rather long.
>>> You can still select them by name using a regex, e.g.
>>> runtests.py 'run\.empty_builtin_constructors'
>>> cython-devel mailing list
>>> cython-devel at python.org
>> Great, thanks! I'll update the hackerguide wiki.
> I see now that it is briefly mentioned there, apologies.
I've added a note there about tags as well, and fixed the -T to look
at the ticket tag. Note that "mode:run" is the default, so you don't
need to explicitly tag mode except for compile/error tests.
More information about the cython-devel