[cmake-developers] [CMake 0014484]: CTest ignores RUN_SERIAL if test gets run as a dependency of another test

Mantis Bug Tracker mantis at public.kitware.com
Tue Oct 15 08:15:33 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14484 
====================================================================== 
Reported By:                Nils Gladitz
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14484
Category:                   CTest
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-10-15 08:15 EDT
Last Modified:              2013-10-15 08:15 EDT
====================================================================== 
Summary:                    CTest ignores RUN_SERIAL if test gets run as a
dependency of another test
Description: 
I've attached a test case that reproduces the problem to this issue.

The "sleep" command may have to be substituted with something platform specific
(sorry I couldn't find a portable sleep replacement in cmake).

When I run it on my system with ctest -j 24
the following tests are started simultaneously:
    Start 8: i_want_to_be_alone
    Start 6: i_like_company_5
    Start 5: i_like_company_4
    Start 4: i_like_company_3
    Start 3: i_like_company_2
    Start 2: i_like_company_1
    Start 1: i_like_company_0

I'd expect "i_want_to_be_alone" to be run by itself.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-10-15 08:15 Nils Gladitz   New Issue                                    
2013-10-15 08:15 Nils Gladitz   File Added: CMakeLists.txt                    
======================================================================




More information about the cmake-developers mailing list