aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy_tests/test_tidy.py
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-07-24 02:51:25 -0500
committerGitHub <noreply@github.com>2016-07-24 02:51:25 -0500
commit81a1e28da140743818651b7c77c7bfc3b8c54d85 (patch)
tree51ea8060e666173d83a7508d41cab13765e3862b /python/tidy/servo_tidy_tests/test_tidy.py
parent2e3bc57e99578ba1977d62800b3fbd187554f89e (diff)
parent3548b5edd0a515cd911411a795f52631bc3e1f6e (diff)
downloadservo-81a1e28da140743818651b7c77c7bfc3b8c54d85.tar.gz
servo-81a1e28da140743818651b7c77c7bfc3b8c54d85.zip
Auto merge of #12567 - servo:tidy-self-test-result, r=jdm
Return failure if the tidy self-tests fail. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12567) <!-- Reviewable:end -->
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 5c271b1afdb..6497fa016b7 100644
--- a/python/tidy/servo_tidy_tests/test_tidy.py
+++ b/python/tidy/servo_tidy_tests/test_tidy.py
@@ -139,4 +139,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