diff options
author | Josh Matthews <josh@joshmatthews.net> | 2017-01-24 13:31:00 -0500 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2017-01-24 13:33:45 -0500 |
commit | f29e01c5ad296aa9e07193cb2d60cc94442cb3f3 (patch) | |
tree | 51c4db3f6c45398c9d8b3e0dcd05965bbf39dfbe /python/servo | |
parent | 231481570e7ffc6c036b54a15507a9b2260ffe87 (diff) | |
download | servo-f29e01c5ad296aa9e07193cb2d60cc94442cb3f3.tar.gz servo-f29e01c5ad296aa9e07193cb2d60cc94442cb3f3.zip |
Make test-wpt-failure smoketest work again.
Diffstat (limited to 'python/servo')
-rw-r--r-- | python/servo/testing_commands.py | 15 |
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', |