Skip to content

Commit

Permalink
Make test-wpt-failure smoketest work again.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdm committed Jan 24, 2017
1 parent 2314815 commit f29e01c
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions python/servo/testing_commands.py
Expand Up @@ -411,16 +411,13 @@ def test_webidl(self, quiet, tests):

@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',
Expand Down

0 comments on commit f29e01c

Please sign in to comment.