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.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 8cc33e665b7..e9f66054e56 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -19,6 +19,7 @@ import subprocess
import textwrap
import json
+import servo.devtools_tests
from servo.post_build_commands import PostBuildCommands
import wpt
import wpt.manifestupdate
@@ -326,6 +327,12 @@ class MachCommands(CommandBase):
return 0 if passed else 1
+ @Command('test-devtools',
+ description='Run tests for devtools.',
+ category='testing')
+ def test_devtools(self):
+ servo.devtools_tests.run_tests(SCRIPT_PATH)
+
@Command('test-wpt-failure',
description='Run the tests harness that verifies that the test failures are reported correctly',
category='testing',