On 2014-12-02 15:28, Brad King wrote:
On 12/02/2014 09:10 AM, Thomas Sondergaard wrote:
One of the tests spawns a dbus-daemon.exe which was leftover, once I
killed that ctest.exe finished too. Is this consistent with the expected
ctest behavior?

This is a known limitation of the way CTest runs processes.  If a
parent exits before the grandchildren, and the latter do not exit,
then things get stuck because they keep pipes open that CTest is
blocking on waiting to be closed.  This is only a problem on Windows.

This limitation is left from the way things had to be implemented
way back when Windows 98 was supported to work there without polling.
The infrastructure update required to fix it is non-trivial so no one
has taken the time to do it yet.

-Brad

OK, thanks. The test is not supposed to leave processes after it exits, so fixing the test should avoid the problem.

Thomas

--

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://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to