forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement --gtest_shuffle in //base/test/launcher.
We were previously passing --gtest_shuffle down to gtest. However, in some cases (e.g. browser_tests, or other suites using content::TestLauncherDelegate), gtest wasn't seeing the flag until it was already in a test-specific worker process -- i.e., until it only had one test to shuffle. This moves the shuffling into the test launcher, before we hand off to the delegate, ensuring that we shuffle across the entire shard. The implementation is largely based on gtest's: reproducible given a seed, w/ a seed range of [0, 100000). This also uses --gtest_shuffle on browser_tests on Mac in an attempt to collect more data on what's causing VM WindowServer deaths there. Bug: 767397 Change-Id: I8aced17cdc5a574e3dc127143c0d0a553f62bf62 Reviewed-on: https://chromium-review.googlesource.com/1100966 Reviewed-by: Nico Weber <thakis@chromium.org> Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: John Budorick <jbudorick@chromium.org> Cr-Commit-Position: refs/heads/master@{#567763}
- Loading branch information
Showing
4 changed files
with
78 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters