Merge topic 'fix-11877-sort-tests-correctly'

8af8eab Use stable_sort to preserve test order (#11877)
This commit is contained in:
Brad King 2011-02-22 14:32:43 -05:00 committed by CMake Topic Stage
commit 6dc8c25226
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@ void cmCTestMultiProcessHandler::CreateTestCostList()
}
TestComparator comp(this);
std::sort(SortedTests.begin(), SortedTests.end(), comp);
std::stable_sort(SortedTests.begin(), SortedTests.end(), comp);
}
//---------------------------------------------------------