Commit d6806d73 by Jamie Madill Committed by Commit Bot

Test Runner: Fix sharding and --bot-mode.

We were using the incorrect test list to set up initial test expectations. Fix this by using the already generated test set in the test suite. Test: angle_unittests with --bot-mode, sharding, and filter Bug: angleproject:3162 Change-Id: Id108943494130410caab404faad25115792e794d Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2419596Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 357caadb
...@@ -931,9 +931,7 @@ TestSuite::TestSuite(int *argc, char **argv) ...@@ -931,9 +931,7 @@ TestSuite::TestSuite(int *argc, char **argv)
listeners.Append(new TestEventListener(mResultsFile, mHistogramJsonFile, listeners.Append(new TestEventListener(mResultsFile, mHistogramJsonFile,
mTestSuiteName.c_str(), &mTestResults)); mTestSuiteName.c_str(), &mTestResults));
std::vector<TestIdentifier> testList = GetFilteredTests(nullptr, alsoRunDisabledTests); for (const TestIdentifier &id : testSet)
for (const TestIdentifier &id : testList)
{ {
mTestResults.results[id].type = TestResultType::Skip; mTestResults.results[id].type = TestResultType::Skip;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment