aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorAndreas Tolfsen <ato@mozilla.com>2015-03-15 18:03:40 +0000
committerAndreas Tolfsen <ato@mozilla.com>2015-03-15 18:03:40 +0000
commitb951c2f9638eaed90bdea440bed66354d95cd92b (patch)
tree1d81a8d90c5e78251fb70f659c83351254aac328 /python/servo/testing_commands.py
parentf30faeadd09b7ef553df9d270abeb3c242c4ce3a (diff)
downloadservo-b951c2f9638eaed90bdea440bed66354d95cd92b.tar.gz
servo-b951c2f9638eaed90bdea440bed66354d95cd92b.zip
tests: ensure bootstrapping for wpt
Diffstat (limited to 'python/servo/testing_commands.py')
-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: