mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
Add a test that wptrunner fails when it should.
This commit is contained in:
parent
14df96d772
commit
a2521c7e01
3 changed files with 16 additions and 2 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue