From 9f674cf659e29e97eb9fdb24c463e63119316bc1 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Tue, 23 Dec 2014 05:36:44 -0700 Subject: [PATCH] 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 --- servo/python/servo/testing_commands.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/servo/python/servo/testing_commands.py b/servo/python/servo/testing_commands.py index 0024a425cd52..ab1337a9f4fa 100644 --- a/servo/python/servo/testing_commands.py +++ b/servo/python/servo/testing_commands.py @@ -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')