[CMake] ctest --output-on-failure doesn't work

Vinícius dos Santos Oliveira vini.ipsmaker at gmail.com
Sun Jun 7 23:37:30 EDT 2015


According to the documentation[1], the --output-on-failure argument will
instruct ctest to show the tests output when they fail. A second approach
is to set the env var CTEST_OUTPUT_ON_FAILURE. Neither option work for me.

As you can see on appveyor[2], some tests fail, but no output is given.

On GNU/Linux, setting the CTEST_OUTPUT_ON_FAILURE does work for me.

The CMake configuration files I used are publicly available and there is no
magic in their contents:
https://github.com/vinipsmaker/asiohttpserver/tree/travis

[1] http://www.cmake.org/cmake/help/v3.3/manual/ctest.1.html
[2]
https://ci.appveyor.com/project/vinipsmaker/boost-http/build/1.0.63/job/71vy3hxrx9clstju#L1028

-- 
Vinícius dos Santos Oliveira
https://about.me/vinipsmaker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150608/8a67ca37/attachment.html>


More information about the CMake mailing list