Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Commit

Permalink
[Telemetry] Pass --disable-gpu in run_tests if starting Xvfb
Browse files Browse the repository at this point in the history
This CL works around issues with Mesa spinning up processes too early on Linux,
which causes browser tests to fail with the current reference build.

BUG=catapult:#3074

Review-Url: https://codereview.chromium.org/2573563002
  • Loading branch information
eakuefner authored and Commit bot committed Dec 12, 2016
1 parent 6706922 commit 65bec39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions telemetry/telemetry/testing/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ def ProcessCommandLineArgs(cls, parser, args, _):

if args.start_xvfb and xvfb.ShouldStartXvfb():
cls.xvfb_process = xvfb.StartXvfb()
# Work around Mesa issues on Linux. See
# https://github.com/catapult-project/catapult/issues/3074
args.browser_options.AppendExtraBrowserArgs('--disable-gpu')

try:
possible_browser = browser_finder.FindBrowser(args)
except browser_finder_exceptions.BrowserFinderException, ex:
Expand Down

0 comments on commit 65bec39

Please sign in to comment.