[CMake] Pass exclude test regex in visual studio

j s j.s4403 at gmail.com
Tue Dec 7 14:46:40 EST 2010


Thanks.  I have examples (for documentation) which run much longer than the
standard regressions.

Juan

On Tue, Dec 7, 2010 at 10:15 AM, Tyler Roscoe <tyler at cryptio.net> wrote:

> On Tue, Dec 07, 2010 at 02:39:18AM -0600, j s wrote:
> > Is there a way to pass the ctest -E flag to a visual studio 10
> configuration
> > to prevent certain tests from running in the regressions?
>
> I don't know of a good way (and I'm not 100% sure what you mean by
> "prevent certain tests from running in the regressions") but what I
> usually do is just edit the command associated with the RUN_TESTS target
> and add command-line args (-E, -VV) there.
>
> If you have a permanent set you like to exclude, you can just create
> your own target MY_RUN_TESTS or whatever that runs
> ${CMAKE_CTEST_COMMAND} with your preferred arguments.
>
> hth,
> tyler
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101207/de40248a/attachment.htm>


More information about the CMake mailing list