aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-01-24 13:16:50 -0800
committerGitHub <noreply@github.com>2017-01-24 13:16:50 -0800
commit39b4f19ebb5f9335372d4617cc345707b66eea02 (patch)
treef23fc0b6e034db1c290beab5836bd264ee71742e /python/servo/testing_commands.py
parent185759f87a8dec88f5f65c49ac9df90b47014b19 (diff)
parentf29e01c5ad296aa9e07193cb2d60cc94442cb3f3 (diff)
downloadservo-39b4f19ebb5f9335372d4617cc345707b66eea02.tar.gz
servo-39b4f19ebb5f9335372d4617cc345707b66eea02.zip
Auto merge of #15181 - jdm:wptfail, r=SimonSapin
Make test-wpt-failure smoketest work again. Having this testsuite working would have avoided the issue caused by #15064. This will need to wait until after #15164 is merged, because it picks up the failure that currently exists on master. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15181) <!-- Reviewable:end -->
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',