aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy_tests/test_tidy.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tidy/servo_tidy_tests/test_tidy.py')
-rw-r--r--python/tidy/servo_tidy_tests/test_tidy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tidy/servo_tidy_tests/test_tidy.py b/python/tidy/servo_tidy_tests/test_tidy.py
index 8db19a5efd7..2a8eb871c0b 100644
--- a/python/tidy/servo_tidy_tests/test_tidy.py
+++ b/python/tidy/servo_tidy_tests/test_tidy.py
@@ -138,4 +138,4 @@ class CheckTidiness(unittest.TestCase):
def do_tests():
suite = unittest.TestLoader().loadTestsFromTestCase(CheckTidiness)
- unittest.TextTestRunner(verbosity=2).run(suite)
+ return 0 if unittest.TextTestRunner(verbosity=2).run(suite).wasSuccessful() else 1