mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01: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',
|
description='Run the web platform tests',
|
||||||
category='testing')
|
category='testing')
|
||||||
def test_wpt_failure(self):
|
def test_wpt_failure(self):
|
||||||
|
self.ensure_bootstrapped()
|
||||||
return not subprocess.call([
|
return not subprocess.call([
|
||||||
"bash",
|
"bash",
|
||||||
path.join("tests", "wpt", "run.sh"),
|
path.join("tests", "wpt", "run.sh"),
|
||||||
|
@ -221,6 +222,8 @@ class MachCommands(CommandBase):
|
||||||
"params", default=None, nargs='...',
|
"params", default=None, nargs='...',
|
||||||
help="command-line arguments to be passed through to wpt/run.sh")
|
help="command-line arguments to be passed through to wpt/run.sh")
|
||||||
def test_wpt(self, processes=None, params=None):
|
def test_wpt(self, processes=None, params=None):
|
||||||
|
self.ensure_bootstrapped()
|
||||||
|
|
||||||
if params is None:
|
if params is None:
|
||||||
params = []
|
params = []
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue