diff options
author | Brad King <brad.king@kitware.com> | 2017-04-27 12:57:24 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-04-27 12:57:30 (GMT) |
commit | 06d34c4ae73278dc208ff764badbb69f4747df1a (patch) | |
tree | 3a50bae17e7e85eefb465eada1294cda2589517b /Source/CTest | |
parent | ef205e04d4b06b4cc1456c2bca91d3859e5cb85c (diff) | |
parent | 9a740f1b595c7e68aa4670745097d2ca907513b9 (diff) | |
download | CMake-06d34c4ae73278dc208ff764badbb69f4747df1a.zip CMake-06d34c4ae73278dc208ff764badbb69f4747df1a.tar.gz CMake-06d34c4ae73278dc208ff764badbb69f4747df1a.tar.bz2 |
Merge topic 'clang-tidy-2'
9a740f1b cmCPackIFWInstaller: fix validation of WizardStyle option
a168b4cc cmServerProtocol: avoid copies in range for
1ef22a26 cmDocumentation: use ofstream local variable
ba8571ff clang-tidy: use operators for string comparison
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !738
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestTestHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index c24aecb..d73811b 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -1735,7 +1735,7 @@ void cmCTestTestHandler::ExpandTestsToRunInformationForRerunFailed() // bcc crashes if we attempt a normal substring comparison, // hence the following workaround std::string fileNameSubstring = fileName.substr(0, pattern.length()); - if (fileNameSubstring.compare(pattern) != 0) { + if (fileNameSubstring != pattern) { continue; } if (logName == "") { |