зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #4466 - Add a test that wptrunner fails when it should (from Ms2ger:failing-test); r=larsbergstrom
Source-Repo: https://github.com/servo/servo Source-Revision: c92a7898b47ded1382221fc78526b87bfa9bd897
This commit is contained in:
Родитель
2af2dc9669
Коммит
9f674cf659
|
@ -200,6 +200,17 @@ class MachCommands(CommandBase):
|
|||
def test_tidy(self):
|
||||
return tidy.scan()
|
||||
|
||||
@Command('test-wpt-failure',
|
||||
description='Run the web platform tests',
|
||||
category='testing')
|
||||
def test_wpt_failure(self):
|
||||
return not subprocess.call([
|
||||
"bash",
|
||||
path.join("tests", "wpt", "run.sh"),
|
||||
"--include",
|
||||
"infrastructure/failing-test.html"
|
||||
], env=self.build_env())
|
||||
|
||||
@Command('test-wpt',
|
||||
description='Run the web platform tests',
|
||||
category='testing')
|
||||
|
|
Загрузка…
Ссылка в новой задаче