[cmake-developers] Tests with custom launchers and "Not Run"

Rolf Eike Beer eike at sf-mail.de
Wed Sep 19 02:18:08 EDT 2012


David Cole wrote:
> I don't like it. Existing tests that run and return, for example, a number
> of errors that occurred, will magically appear as "not run" when that
> number just so happens to be 77.
> 
> If there are enough people who think this is "simple and works" and are not
> concerned about the accidental matching of an intentional return value of
> 77 that does NOT mean "not run" ... then I will relent and say, so be it,
> and allow it in.
> 
> But only if there are some people who speak up here or add notes to the bug.
> 
> It just seems wrong to me to treat 77 as some special number here.

I would still go and make that a target property where you can set the return 
code where something is considered skipped. The only question is: how to name 
the property?

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120919/d69b5c5f/attachment.sig>


More information about the cmake-developers mailing list