diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2013-05-06 12:39:05 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2013-05-09 17:22:29 (GMT) |
commit | f4994223bb84bfe98e0113a8a5ccac67435c13d3 (patch) | |
tree | 1b25d5b982a178fb47200bd74964de8669a34b3e /Source/CTest | |
parent | dde6306a48e0eac9783737ca2dab3ce28e27c869 (diff) | |
download | CMake-f4994223bb84bfe98e0113a8a5ccac67435c13d3.zip CMake-f4994223bb84bfe98e0113a8a5ccac67435c13d3.tar.gz CMake-f4994223bb84bfe98e0113a8a5ccac67435c13d3.tar.bz2 |
CTest: remove unreachable code and CTestTestMemcheckUnknown test
The memory checker command can't be quoted at this point, because previously it
has been tested that the given file exists, which will fail if the name is
quoted. The CTestTestMemcheckUnknown test aimed to test this case, has always
failed to do so and serves no useful purpose therefore.
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestMemCheckHandler.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/CTest/cmCTestMemCheckHandler.cxx b/Source/CTest/cmCTestMemCheckHandler.cxx index b320605..280faa0 100644 --- a/Source/CTest/cmCTestMemCheckHandler.cxx +++ b/Source/CTest/cmCTestMemCheckHandler.cxx @@ -461,13 +461,6 @@ bool cmCTestMemCheckHandler::InitializeMemoryChecking() return false; } - if ( this->MemoryTester[0] == '\"' && - this->MemoryTester[this->MemoryTester.size()-1] == '\"' ) - { - this->MemoryTester - = this->MemoryTester.substr(1, this->MemoryTester.size()-2); - } - // Setup the options std::string memoryTesterOptions; if ( this->CTest->GetCTestConfiguration( |