Merge topic 'fix-11877-sort-tests-correctly'
8af8eab Use stable_sort to preserve test order (#11877)
This commit is contained in:
commit
6dc8c25226
@ -484,7 +484,7 @@ void cmCTestMultiProcessHandler::CreateTestCostList()
|
|||||||
}
|
}
|
||||||
|
|
||||||
TestComparator comp(this);
|
TestComparator comp(this);
|
||||||
std::sort(SortedTests.begin(), SortedTests.end(), comp);
|
std::stable_sort(SortedTests.begin(), SortedTests.end(), comp);
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------
|
//---------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user