aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/servo/testing_commands.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 95dd71af1e9..9fb847d303a 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -204,6 +204,7 @@ class MachCommands(CommandBase):
description='Run the web platform tests',
category='testing')
def test_wpt_failure(self):
+ self.ensure_bootstrapped()
return not subprocess.call([
"bash",
path.join("tests", "wpt", "run.sh"),
@@ -221,6 +222,8 @@ class MachCommands(CommandBase):
"params", default=None, nargs='...',
help="command-line arguments to be passed through to wpt/run.sh")
def test_wpt(self, processes=None, params=None):
+ self.ensure_bootstrapped()
+
if params is None:
params = []
else: