[cmake-developers] CMake 3.4.0-rc2 ctest hangs with 100% CPU

Brad King brad.king at kitware.com
Fri Oct 23 10:52:30 EDT 2015


On 10/23/2015 03:23 AM, Nils Gladitz wrote:
> I reduced it to this test case:
> 
>    cmake_minimum_required(VERSION 3.4)
> 
>    project(Foo NONE)
> 
>    enable_testing()
> 
>    add_test(NAME foo COMMAND command_not_found)
>    set_property(TEST foo PROPERTY RUN_SERIAL ON)
> 
>    add_test(NAME bar COMMAND ${CMAKE_COMMAND} -E echo let_me_run)
> 
> The issue seems to exist for sequential ctest runs as well.
> 
> The breaking commit seems to be:
>      07c550caa20d4b1d6ebc08269d744ff6a45c0a6d 
> cmCTestMultiProcessHandler: Refactor RUN_SERIAL implementation

Thanks.  Fixed:

 CTest: Fix regression in handling of a RUN_SERIAL test that fails
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e61973e1

I've queued this for merge to 'release' for 3.4.0-rc3.

-Brad



More information about the cmake-developers mailing list