aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2017-01-24 13:31:00 -0500
committerJosh Matthews <josh@joshmatthews.net>2017-01-24 13:33:45 -0500
commitf29e01c5ad296aa9e07193cb2d60cc94442cb3f3 (patch)
tree51c4db3f6c45398c9d8b3e0dcd05965bbf39dfbe /python/servo/testing_commands.py
parent231481570e7ffc6c036b54a15507a9b2260ffe87 (diff)
downloadservo-f29e01c5ad296aa9e07193cb2d60cc94442cb3f3.tar.gz
servo-f29e01c5ad296aa9e07193cb2d60cc94442cb3f3.zip
Make test-wpt-failure smoketest work again.
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py15
1 files changed, 6 insertions, 9 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 185e7420a47..7c8be361801 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -411,16 +411,13 @@ class MachCommands(CommandBase):
@Command('test-wpt-failure',
description='Run the tests harness that verifies that the test failures are reported correctly',
- category='testing')
- def test_wpt_failure(self):
+ category='testing',
+ parser=create_parser_wpt)
+ def test_wpt_failure(self, **kwargs):
self.ensure_bootstrapped()
- return not call([
- "bash",
- path.join("tests", "wpt", "run.sh"),
- "--no-pause-after-test",
- "--include",
- "infrastructure/failing-test.html"
- ], env=self.build_env())
+ kwargs["pause_after_test"] = False
+ kwargs["include"] = ["infrastructure/failing-test.html"]
+ return not self._test_wpt(**kwargs)
@Command('test-wpt',
description='Run the regular web platform test suite',