[Cmake-commits] [cmake-commits] david.cole committed cmCTestCoverageHandler.cxx 1.55 1.56

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Aug 20 13:24:18 EDT 2008


Update of /cvsroot/CMake/CMake/Source/CTest
In directory public:/mounts/ram/cvs-serv3519/Source/CTest

Modified Files:
	cmCTestCoverageHandler.cxx 
Log Message:
ENH: Add RecurseThroughSymlinks data member to kwsys::Glob. Allows recursive globs to skip symlinks when necessary. Default to true for backwards compatible behavior. Used from the ctest coverage handler to avoid recursing through the '/Applications' directory on the Mac looking for *.da files... Should fix the hangs reported recently by Mac CMake dashboard submitters.


Index: cmCTestCoverageHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestCoverageHandler.cxx,v
retrieving revision 1.55
retrieving revision 1.56
diff -C 2 -d -r1.55 -r1.56
*** cmCTestCoverageHandler.cxx	31 Jul 2008 18:16:34 -0000	1.55
--- cmCTestCoverageHandler.cxx	20 Aug 2008 17:24:16 -0000	1.56
***************
*** 686,689 ****
--- 686,690 ----
    cmsys::Glob gl;
    gl.RecurseOn();
+   gl.RecurseThroughSymlinksOff();
    std::string daGlob = cont->BinaryDir + "/*.da";
    gl.FindFiles(daGlob);
***************
*** 1055,1058 ****
--- 1056,1060 ----
    cmsys::Glob gl;
    gl.RecurseOn();
+   gl.RecurseThroughSymlinksOff();
    std::string daGlob = cont->BinaryDir + "/*.cover";
    gl.FindFiles(daGlob);



More information about the Cmake-commits mailing list