mirror of
https://github.com/servo/servo.git
synced 2025-07-29 02:00:23 +01: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):
|
def test_tidy(self):
|
||||||
return tidy.scan()
|
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',
|
@Command('test-wpt',
|
||||||
description='Run the web platform tests',
|
description='Run the web platform tests',
|
||||||
category='testing')
|
category='testing')
|
||||||
|
|
|
@ -14245,6 +14245,9 @@
|
||||||
{
|
{
|
||||||
"url": "/http/content_length.html"
|
"url": "/http/content_length.html"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"url": "/infrastructure/failing-test.html"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"url": "/js/builtins/Array.DefineOwnProperty.html"
|
"url": "/js/builtins/Array.DefineOwnProperty.html"
|
||||||
},
|
},
|
||||||
|
@ -17763,6 +17766,6 @@
|
||||||
"deleted": [],
|
"deleted": [],
|
||||||
"items": {}
|
"items": {}
|
||||||
},
|
},
|
||||||
"rev": "badfd02aa085e25bd79f18902afbafcc8bc884b5",
|
"rev": "5bff693a497f200800d6d0dd6e3cc3556cc00bbe",
|
||||||
"url_base": "/"
|
"url_base": "/"
|
||||||
}
|
}
|
|
@ -1 +1 @@
|
||||||
Subproject commit badfd02aa085e25bd79f18902afbafcc8bc884b5
|
Subproject commit 5bff693a497f200800d6d0dd6e3cc3556cc00bbe
|
Loading…
Add table
Add a link
Reference in a new issue