diff options
author | Jack Moffitt <jack@metajack.im> | 2014-09-09 22:46:34 -0600 |
---|---|---|
committer | Jack Moffitt <jack@metajack.im> | 2014-09-09 22:46:34 -0600 |
commit | 3924652aa3d43fc10917e46cbb1a955bd0495614 (patch) | |
tree | 8d355b292fc6823492715bba3100af7e64620d71 /python/servo | |
parent | aafab19e24702e72460db44da6b2cef14e059314 (diff) | |
parent | 74cc288cdbd971191cfd9d906165b48094028631 (diff) | |
download | servo-3924652aa3d43fc10917e46cbb1a955bd0495614.tar.gz servo-3924652aa3d43fc10917e46cbb1a955bd0495614.zip |
Merge pull request #3263 from duncankl/refactor-test-tidy
Refactor python/tidy.py (updated post-cargoify)
Diffstat (limited to 'python/servo')
-rw-r--r-- | python/servo/testing_commands.py | 6 |
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', |