aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorAustin Hicks <camlorn@camlorn.net>2017-06-19 22:03:07 -0400
committerAustin Hicks <camlorn@camlorn.net>2017-06-20 10:09:29 -0400
commit8c82f862309a14e85bafc257b8cfae6085d5c003 (patch)
treeea2f7e5ddfdfb574810f4998ae0b519893a11779 /python/servo/testing_commands.py
parentf78dc9f613ec8788c894343955bfd376e260bb41 (diff)
downloadservo-8c82f862309a14e85bafc257b8cfae6085d5c003.tar.gz
servo-8c82f862309a14e85bafc257b8cfae6085d5c003.zip
mach test --all doesn't crash when trying to run tidy.
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 78d745df3b2..2d4df90755b 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -45,7 +45,8 @@ WEB_PLATFORM_TESTS_PATH = os.path.join("tests", "wpt", "web-platform-tests")
SERVO_TESTS_PATH = os.path.join("tests", "wpt", "mozilla", "tests")
TEST_SUITES = OrderedDict([
- ("tidy", {"kwargs": {"all_files": False, "no_progress": False, "self_test": False},
+ ("tidy", {"kwargs": {"all_files": False, "no_progress": False, "self_test": False,
+ "stylo": False},
"include_arg": "include"}),
("wpt", {"kwargs": {"release": False},
"paths": [path.abspath(WEB_PLATFORM_TESTS_PATH),
@@ -111,7 +112,8 @@ class MachCommands(CommandBase):
def test(self, params, render_mode=DEFAULT_RENDER_MODE, release=False, tidy_all=False,
no_progress=False, self_test=False, all_suites=False):
suites = copy.deepcopy(TEST_SUITES)
- suites["tidy"]["kwargs"] = {"all_files": tidy_all, "no_progress": no_progress, "self_test": self_test}
+ suites["tidy"]["kwargs"] = {"all_files": tidy_all, "no_progress": no_progress, "self_test": self_test,
+ "stylo": False}
suites["wpt"]["kwargs"] = {"release": release}
suites["css"]["kwargs"] = {"release": release}
suites["unit"]["kwargs"] = {}