Hello.

In CTest documentation it says that ctest_update returns -1 when update
failed: The RETURN_VALUE option specifies a variable in which to store the
result, which is the number of files updated or -1 on error. (see
http://www.cmake.org/cmake/help/v2.8.11/ctest.html#command:ctest_update)

I've noticed it is not true -- zero is returned instead. Attached patch
fixes this issue.
-- 
Kind regards,
Fedor Gusev.

Attachment: ctest_update_return_value_fix.patch
Description: Binary data

--

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to