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:
Ms2ger 2014-12-23 05:36:44 -07:00
Родитель 2af2dc9669
Коммит 9f674cf659
1 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -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')