On 10/24/2013 10:23 AM, Stephen Kelly wrote:
>> Also when you run the compiler you need to capture all stdout/stderr
>> so that it never leaks through to the user-visible cmake configuration
>> output.  The RunCMake.* tests that failed last night were mostly due
>> to compilers writing to stderr even when nothing is wrong and therefore
>> messing with the expected output matching.
> 
> Should be all fixed now.

Your patch did:

+    RESULT_VARIABLE _result
+    OUTPUT_VARIABLE _output

but RESULT_VARIABLE is for the return code or administrative
error message.  You also need

  ERROR_VARIABLE _error

to get stderr.  Without this the tests still failed last night.

-Brad
--

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

Reply via email to