Bug 1753772 - Add xorigin-tests to android test runner. r=jmaher

Differential Revision: https://phabricator.services.mozilla.com/D138373
This commit is contained in:
Agi Sferro 2022-02-11 20:39:30 +00:00
parent fa1559c5bf
commit 2f5398973b

View File

@ -68,6 +68,15 @@ class AndroidEmulatorTest(
"help": "Number of this chunk",
},
],
[
["--enable-xorigin-tests"],
{
"action": "store_true",
"dest": "enable_xorigin_tests",
"default": False,
"help": "Run tests in a cross origin iframe.",
},
],
[
["--gpu-required"],
{
@ -305,6 +314,8 @@ class AndroidEmulatorTest(
if self.enable_fission:
cmd.extend(["--enable-fission"])
if c.get("enable_xorigin_tests"):
cmd.extend(["--enable-xorigin-tests"])
try_options, try_tests = self.try_args(self.test_suite)
cmd.extend(try_options)