On 12/20/2013 07:28 PM, Brad King wrote:
The second one is a new bug that is responsible for some of the
missing dashboard submissions recently. Somehow CTest stops
running tests and loops forever if there are problems running
some tests. It can be reproduced on Linux in a CMake build
tree as follows:
Thank you Brad,
I am looking into it.
I haven't figured it all out yet but it looks like CTest is currently
waiting for dependencies to finish which have never (and will never) run
because their executable is missing.
It does not happen when the dependency has a regular test failure
I've come up with this testcase which I'll include with the fix (as soon
as I have one) which reproduces this:
cmake_minimum_required(VERSION 2.8.12)
enable_testing()
add_test(test1 ${CMAKE_COMMAND} -E echo test)
add_test(test2 non-existent-command)
set_tests_properties(test1 PROPERTIES DEPENDS test2)
Nils
--
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