[cmake-developers] [Patch] Add option "--no-return-code"

A. Klitzing aklitzing at gmail.com
Thu Aug 13 16:09:02 EDT 2015


Hi there,

I like to add the option "--no-return-code" to ctest.

We use ctest on Jenkins in a shell build step. Jenkins will FAIL the build
if the last command (ctest) will return a non-zero return code even the
configured UNSTABLE/FAIL threshold is not reached.

The only work-around is to call another useless command after it. This
won't be necessary if ctest could ignore the return codes.

Best regards
  André Klitzing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150813/e412522b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-CTest-Add-a-new-no-return-code-option.patch
Type: text/x-diff
Size: 2654 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150813/e412522b/attachment.patch>


More information about the cmake-developers mailing list