| View Issue Details [ Jump to Notes ] | [ Print ] |
| 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. |
|
| Attached Files | |
|