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

Marcel Loose loose at astron.nl
Wed Sep 19 02:32:07 EDT 2012


On 19/09/12 08:18, Rolf Eike Beer wrote:
> 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
>
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
I already suggested to use a test property three years ago (see issue 
#8466). At that time David was very much against it, fearing to find "a 
***huuuuuuggggeee*** can of worms right underneath the surface." Seems 
I'm slowly getting more fellow thinkers ;)

Regards,
Marcel Loose.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120919/abbfdf75/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loose.vcf
Type: text/x-vcard
Size: 286 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120919/abbfdf75/attachment-0002.vcf>


More information about the cmake-developers mailing list