aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 957dfca22ae..8e18fce5437 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -380,10 +380,10 @@ class MachCommands(CommandBase):
binary_args=self.in_android_emulator(release, dev) + (binary_args or []),
binary=sys.executable,
)
- return self._test_wpt(**kwargs)
+ return self._test_wpt(android=True, **kwargs)
- def _test_wpt(self, **kwargs):
- self.set_run_env()
+ def _test_wpt(self, android=False, **kwargs):
+ self.set_run_env(android)
hosts_file_path = path.join(self.context.topdir, 'tests', 'wpt', 'hosts')
os.environ["hosts_file_path"] = hosts_file_path
run_file = path.abspath(path.join(self.context.topdir, "tests", "wpt", "run.py"))