<div dir="ltr">Hello.<div><br></div><div>In CTest documentation it says that ctest_update returns -1 when update failed: <span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;line-height:22px;text-align:justify">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 </span><a href="http://www.cmake.org/cmake/help/v2.8.11/ctest.html#command:ctest_update">http://www.cmake.org/cmake/help/v2.8.11/ctest.html#command:ctest_update</a>)</div>

<br>I&#39;ve noticed it is not true -- zero is returned instead. Attached patch fixes this issue.<div><div>-- <br>Kind regards,<br>Fedor Gusev.
</div></div></div>