diff options
Diffstat (limited to 'Source/CTest/cmCTestCoverageCommand.cxx')
-rw-r--r-- | Source/CTest/cmCTestCoverageCommand.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestCoverageCommand.cxx b/Source/CTest/cmCTestCoverageCommand.cxx index bcb3239..602bad1 100644 --- a/Source/CTest/cmCTestCoverageCommand.cxx +++ b/Source/CTest/cmCTestCoverageCommand.cxx @@ -71,13 +71,14 @@ bool cmCTestCoverageCommand::InitialPass( if ( build_dir ) { - m_CTest->SetCTestConfiguration("BuildDirectory", build_dir); + this->CTest->SetCTestConfiguration("BuildDirectory", build_dir); } - m_CTest->SetCTestConfigurationFromCMakeVariable(m_Makefile, + this->CTest->SetCTestConfigurationFromCMakeVariable(m_Makefile, "CoverageCommand", "CTEST_COVERAGE_COMMAND"); - cmCTestGenericHandler* handler = m_CTest->GetInitializedHandler("coverage"); + cmCTestGenericHandler* handler + = this->CTest->GetInitializedHandler("coverage"); if ( !handler ) { this->SetError("internal CTest error. Cannot instantiate test handler"); @@ -85,7 +86,7 @@ bool cmCTestCoverageCommand::InitialPass( } std::string current_dir = cmSystemTools::GetCurrentWorkingDirectory(); cmSystemTools::ChangeDirectory( - m_CTest->GetCTestConfiguration("BuildDirectory").c_str()); + this->CTest->GetCTestConfiguration("BuildDirectory").c_str()); int res = handler->ProcessHandler(); if ( res_var ) { |