From b951c2f9638eaed90bdea440bed66354d95cd92b Mon Sep 17 00:00:00 2001 From: Andreas Tolfsen Date: Sun, 15 Mar 2015 18:03:40 +0000 Subject: tests: ensure bootstrapping for wpt --- python/servo/testing_commands.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python/servo/testing_commands.py') 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: -- cgit v1.2.3