On 01/08/2014 05:01 AM, Nils Gladitz wrote: > In the new test "MissingInstall" I run the command you suggest and > verify it gets a non-success exit status.
Thanks for the tests. The topic looks good except that the MissingInstall test fails on VS 6. The reason is that msdev returns -1 on failure so this hunk fails to recognize it: +if(NOT "${RESULT}" GREATER "0") + message(FATAL_ERROR "install should have failed") +endif() I think you can use if(RESULT EQUAL 0) instead. Thanks, -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