MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0012383 | CMake | CTest | public | 2011-08-03 00:06 | 2012-03-06 08:37 |
|
Reporter | Fraser Hutchison | |
Assigned To | David Cole | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | CMake 2.8.5 | |
Target Version | CMake 2.8.7 | Fixed in Version | CMake 2.8.7 | |
|
Summary | 0012383: CTest TestHandlers' CustomVectors are not cleared before being populated |
Description | When 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 Reproduce | For 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 Information | The problem can be fixed by adding " vec.clear();" before populating the vector in cmCTest::PopulateCustomVector |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
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 |