From ef1c1153d34548863bcc5cb6d767881eb5b93b04 Mon Sep 17 00:00:00 2001 From: Volkan Gezer Date: Thu, 6 Mar 2014 09:15:23 +0100 Subject: CTest: Teach ctest_coverage() to read CTEST_COVERAGE_EXTRA_FLAGS Use it to set the CoverageExtraFlags value just as COVERAGE_EXTRA_FLAGS does in the CTest module for creating DartConfiguration.tcl. --- Source/CTest/cmCTestCoverageCommand.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/CTest/cmCTestCoverageCommand.cxx b/Source/CTest/cmCTestCoverageCommand.cxx index 72ff720..41f016b 100644 --- a/Source/CTest/cmCTestCoverageCommand.cxx +++ b/Source/CTest/cmCTestCoverageCommand.cxx @@ -25,7 +25,8 @@ cmCTestGenericHandler* cmCTestCoverageCommand::InitializeHandler() { this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile, "CoverageCommand", "CTEST_COVERAGE_COMMAND"); - + this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile, + "CoverageExtraFlags", "CTEST_COVERAGE_EXTRA_FLAGS"); cmCTestCoverageHandler* handler = static_cast( this->CTest->GetInitializedHandler("coverage")); if ( !handler ) -- cgit v0.12 From 93d5c4dc22e0c430320117a08e0faf081f31ffa0 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 10 Mar 2014 10:21:11 -0400 Subject: Help: Add release notes for topic 'ctest-coverage-extra' --- Help/release/dev/ctest-coverage-extra.rst | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Help/release/dev/ctest-coverage-extra.rst diff --git a/Help/release/dev/ctest-coverage-extra.rst b/Help/release/dev/ctest-coverage-extra.rst new file mode 100644 index 0000000..85d023b --- /dev/null +++ b/Help/release/dev/ctest-coverage-extra.rst @@ -0,0 +1,5 @@ +ctest-coverage-extra +-------------------- + +* The :command:`ctest_coverage` command learned to read variable + ``CTEST_COVERAGE_EXTRA_FLAGS`` to set ``CoverageExtraFlags``. -- cgit v0.12