summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-10-27 13:21:56 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-10-27 13:22:04 (GMT)
commitede11598ba16841c7652160ba8dd755c259bc122 (patch)
treef0734aa58b6ff594eb5a2f4652ab7b3560615c10 /Source/CTest
parentb20faa97818e83dd6c056e54618e25c0e31dea18 (diff)
parentdd918c517dc32002f44e74b0cdc6fb32cd7bee34 (diff)
downloadCMake-ede11598ba16841c7652160ba8dd755c259bc122.zip
CMake-ede11598ba16841c7652160ba8dd755c259bc122.tar.gz
CMake-ede11598ba16841c7652160ba8dd755c259bc122.tar.bz2
Merge topic 'simplify-boolean-expressions'
dd918c517d Source: Simplify some boolean expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6654
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestCoverageHandler.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx
index 57b1dda..b16d4d0 100644
--- a/Source/CTest/cmCTestCoverageHandler.cxx
+++ b/Source/CTest/cmCTestCoverageHandler.cxx
@@ -49,9 +49,8 @@ public:
}
~cmCTestRunProcess()
{
- if (!(this->PipeState == -1) &&
- !(this->PipeState == cmsysProcess_Pipe_None) &&
- !(this->PipeState == cmsysProcess_Pipe_Timeout)) {
+ if (this->PipeState != -1 && this->PipeState != cmsysProcess_Pipe_None &&
+ this->PipeState != cmsysProcess_Pipe_Timeout) {
this->WaitForExit();
}
cmsysProcess_Delete(this->Process);