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
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to