View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012383CMakeCTestpublic2011-08-03 00:062012-03-06 08:37
ReporterFraser Hutchison 
Assigned ToDavid Cole 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.5 
Target VersionCMake 2.8.7Fixed in VersionCMake 2.8.7 
Summary0012383: CTest TestHandlers' CustomVectors are not cleared before being populated
DescriptionWhen running a Continuous script where CTEST_START is called repeatedly (e.g. as per documentation at http://www.vtk.org/Wiki/CMake_Scripting_Of_CTest#Continuous_Builds_.28new_Style.29 [^]), the custom vectors of the test handlers are appended to each time.
Steps To ReproduceFor a project with a CTestCustom.cmake present containing e.g. "SET(CTEST_CUSTOM_COVERAGE_EXCLUDE ad.infinitum)", run a Continuous script with extra verbose output switched on. Each new run of the tests adds another "ad.infinitum" to the list of coverage exclusions.
Additional InformationThe problem can be fixed by adding " vec.clear();" before populating the vector in cmCTest::PopulateCustomVector
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0027654)
David Cole (manager)
2011-10-26 07:49

Fix pushed to 'next'

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=499c10457282f44d954c8a7385cbf9f8c82d1b08 [^]
(0028838)
David Cole (manager)
2012-03-06 08:37

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2011-08-03 00:06 Fraser Hutchison New Issue
2011-08-03 12:10 David Cole Assigned To => David Cole
2011-08-03 12:10 David Cole Status new => assigned
2011-10-25 23:15 David Cole Target Version => CMake 2.8.7
2011-10-26 07:49 David Cole Note Added: 0027654
2011-10-26 07:49 David Cole Status assigned => resolved
2011-10-26 07:49 David Cole Fixed in Version => CMake 2.8.7
2011-10-26 07:49 David Cole Resolution open => fixed
2012-03-06 08:37 David Cole Note Added: 0028838
2012-03-06 08:37 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team