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.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 19ecc4ef4cf..e9e46c30c69 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -105,11 +105,7 @@ class MachCommands(CommandBase):
description='Run the source code tidiness check',
category='testing')
def test_tidy(self):
- errors = 0
- for p in ["src", "components"]:
- ret = tidy.scan(path.join(self.context.topdir, p))
- if ret != 0: errors = 1
- return errors
+ return tidy.scan()
@Command('test-wpt',
description='Run the web platform tests',