Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Issue 2640133002: Reland: Use xvfb with Ozone CrOS. (Closed)

Created:
3 years, 11 months ago by kylechar
Modified:
3 years, 11 months ago
Reviewers:
Dirk Pranke, sadrul
CC:
chromium-reviews, rjkroege, Tom Anderson
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: Use xvfb with Ozone CrOS. We want to switch the majority of Ozone CrOS tests over to run with --ozone-platform=x11. This requires that test targets with type 'windowed_test_launcher' run using xvfb. Right now mb.py looks for the arg '--ozone-platform=x11' in the isolate step, which requires adding a new target for each test we want to add. Instead, just assume that if use_ozone=true and target_os="chromeos" then we want to use xvfb. Ozone CrOS test with type 'windowed_test_launcher' will still need to have '--ozone-platform=x11' flag added in chromimum.chromiumos.json to run with Ozone X11. Once most tests pass under with Ozone X11 the default Ozone platform can be swapped to be x11 and only tests that should run with headless will require an args entry there. This was originally landed in http://crrev.com/2587473002 and then reverted. I had switched gl_unittests to type='windowed_test_launcher'. gl_unittests for most platforms run on real hardware and this caused the Linux GPU trybot to crash. Running gl_unittests in xvfb is required for Ozone as there are no Ozone Chrome OS GPU trybots, so keep the extra test target. BUG=671355 Review-Url: https://codereview.chromium.org/2640133002 Cr-Commit-Position: refs/heads/master@{#444727} Committed: https://chromium.googlesource.com/chromium/src/+/39705684829e901db436c5185961acc4a37034fd

Patch Set 1 #

Patch Set 2 : Add target. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -30 lines) Patch
M testing/buildbot/chromium.chromiumos.json View 1 chunk +4 lines, -1 line 0 comments Download
M testing/buildbot/gn_isolate_map.pyl View 2 chunks +3 lines, -5 lines 0 comments Download
M tools/mb/mb.py View 2 chunks +7 lines, -7 lines 0 comments Download
M ui/gl/BUILD.gn View 1 1 chunk +14 lines, -17 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
kylechar
dprank: testing/*, tools/* sadrul: ui/*
3 years, 11 months ago (2017-01-18 22:18:55 UTC) #6
Dirk Pranke
lgtm
3 years, 11 months ago (2017-01-19 01:58:27 UTC) #7
sadrul
lgtm
3 years, 11 months ago (2017-01-19 04:24:18 UTC) #8
kylechar
Thanks! +rjkroege and thomasanderson FYI
3 years, 11 months ago (2017-01-19 14:23:36 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2640133002/20001
3 years, 11 months ago (2017-01-19 14:32:14 UTC) #15
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 14:38:01 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/39705684829e901db436c5185961...

Powered by Google App Engine
This is Rietveld 408576698