fix dash8 warning
This commit is contained in:
parent
54aeed9b4f
commit
685a8ed86f
|
@ -1568,11 +1568,11 @@ int cmCTest::Run(std::vector<std::string>const& args, std::string* output)
|
||||||
if(cmakeAndTest)
|
if(cmakeAndTest)
|
||||||
{
|
{
|
||||||
cmSystemTools::ResetErrorOccuredFlag();
|
cmSystemTools::ResetErrorOccuredFlag();
|
||||||
cmListFileCache::GetInstance()->ClearCache();
|
cmListFileCache *lfc = cmListFileCache::GetInstance();
|
||||||
|
lfc->ClearCache();
|
||||||
int retv = this->RunCMakeAndTest(output);
|
int retv = this->RunCMakeAndTest(output);
|
||||||
cmSystemTools::ResetErrorOccuredFlag();
|
cmSystemTools::ResetErrorOccuredFlag();
|
||||||
cmListFileCache* lf = cmListFileCache::GetInstance();
|
lfc->ClearCache();
|
||||||
lf->ClearCache();
|
|
||||||
#ifdef CMAKE_BUILD_WITH_CMAKE
|
#ifdef CMAKE_BUILD_WITH_CMAKE
|
||||||
cmDynamicLoader::FlushCache();
|
cmDynamicLoader::FlushCache();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue