This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  e76d71542f056aedc2620747760ea1a6fad1dfad (commit)
       via  e6cf1c489cbebf41524de389895c58bc644fd7f8 (commit)
      from  33b956d6dbfd411a09c94791e91f278f8d3dbbe6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e76d71542f056aedc2620747760ea1a6fad1dfad
commit e76d71542f056aedc2620747760ea1a6fad1dfad
Merge: 33b956d e6cf1c4
Author:     Brad King <brad.k...@kitware.com>
AuthorDate: Mon Jul 13 14:18:43 2015 -0400
Commit:     CMake Topic Stage <kwro...@kitware.com>
CommitDate: Mon Jul 13 14:18:43 2015 -0400

    Merge topic 'coverage_no_tests' into next
    
    e6cf1c48 ctest_coverage: Always do coverage for CTEST_EXTRA_COVERAGE_GLOB


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e6cf1c489cbebf41524de389895c58bc644fd7f8
commit e6cf1c489cbebf41524de389895c58bc644fd7f8
Author:     Zack Galbreath <zack.galbre...@kitware.com>
AuthorDate: Mon Jul 13 11:56:06 2015 -0400
Commit:     Brad King <brad.k...@kitware.com>
CommitDate: Mon Jul 13 14:17:59 2015 -0400

    ctest_coverage: Always do coverage for CTEST_EXTRA_COVERAGE_GLOB
    
    Do not ignore a coverage request if CTEST_EXTRA_COVERAGE_GLOB was
    specified.  Prior to this change, if no lines of code were covered by
    any tests then CTest would neglect to generate a Coverage.xml file.
    This change allows us to report uncovered files for a project with no
    tests.

diff --git a/Source/CTest/cmCTestCoverageHandler.cxx 
b/Source/CTest/cmCTestCoverageHandler.cxx
index f92f19a..6369e17 100644
--- a/Source/CTest/cmCTestCoverageHandler.cxx
+++ b/Source/CTest/cmCTestCoverageHandler.cxx
@@ -446,7 +446,7 @@ int cmCTestCoverageHandler::ProcessHandler()
     }
   std::set<std::string> uncovered = this->FindUncoveredFiles(&cont);
 
-  if ( file_count == 0 )
+  if (file_count == 0 && this->ExtraCoverageGlobs.empty())
     {
     cmCTestOptionalLog(this->CTest, WARNING,
       " Cannot find any coverage files. Ignoring Coverage request."

-----------------------------------------------------------------------

Summary of changes:


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits

Reply via email to