Merge topic 'fix-12383-clear-ctest-vecs'
499c104 CTest: Clear custom vectors before populating (#12383)
This commit is contained in:
commit
e0d97b6728
@ -2526,6 +2526,8 @@ void cmCTest::PopulateCustomVector(cmMakefile* mf, const char* def,
|
||||
cmSystemTools::ExpandListArgument(dval, slist);
|
||||
std::vector<std::string>::iterator it;
|
||||
|
||||
vec.clear();
|
||||
|
||||
for ( it = slist.begin(); it != slist.end(); ++it )
|
||||
{
|
||||
cmCTestLog(this, DEBUG, " -- " << it->c_str() << std::endl);
|
||||
|
Loading…
x
Reference in New Issue
Block a user