Chromium Code Reviews
DescriptionReland: 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. #
Messages
Total messages: 18 (12 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||