mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
tests: ensure bootstrapping for wpt
This commit is contained in:
parent
f30faeadd0
commit
b951c2f963
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue