[cmake-developers] [CMake 0013825]: ctest shouldn't report skipped tests as failed

Mantis Bug Tracker mantis at public.kitware.com
Mon Dec 31 14:36:07 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13825 
====================================================================== 
Reported By:                mwoehlke
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13825
Category:                   CTest
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-12-31 14:36 EST
Last Modified:              2012-12-31 14:36 EST
====================================================================== 
Summary:                    ctest shouldn't report skipped tests as failed
Description: 
When CTest skips some tests, e.g. because their REQUIRED_FILES are missing, the
tests contribute to the pass/fail statistics and are reported as failing.

I would rather see output like:

50% tests passed, 2 tests failed out of 4 (17 tests were not run)

...and either only list tests that actually failed, or list skipped tests in a
separate section

This could be an option, if not suitable as default behavior (or maybe
controlled by a global property in the CTestTestfile.cmake).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-12-31 14:36 mwoehlke       New Issue                                    
======================================================================




More information about the cmake-developers mailing list