mirror of
https://github.com/reactos/CMake.git
synced 2025-02-26 23:15:28 +00:00
cmCTestTestHandler: Remove extra layer of parentheses
A condition in `ComputeTestListForRerunFailed` contained an extra layer of parentheses. Remove them. The condition itself is correct because an empty list means "all tests" so we want to include the current test. Issue: #19610
This commit is contained in:
parent
7c2767ef3b
commit
74f2c0ea56
@ -893,7 +893,7 @@ void cmCTestTestHandler::ComputeTestListForRerunFailed()
|
||||
cnt++;
|
||||
|
||||
// if this test is not in our list of tests to run, then skip it.
|
||||
if ((!this->TestsToRun.empty() && !cmContains(TestsToRun, cnt))) {
|
||||
if (!this->TestsToRun.empty() && !cmContains(this->TestsToRun, cnt)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user