aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 0024a425cd5..ab1337a9f4f 100644
--- a/python/servo/testing_commands.py
+++ b/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')