diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-07-23 15:29:06 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-07-23 15:29:06 +0200 |
commit | 3548b5edd0a515cd911411a795f52631bc3e1f6e (patch) | |
tree | abfe27cbd157d4271fa19f18114a85a83300b240 /python/tidy/servo_tidy_tests/test_tidy.py | |
parent | 7ea73ba2eec54e626db964eb3c943c2ba9b61466 (diff) | |
download | servo-3548b5edd0a515cd911411a795f52631bc3e1f6e.tar.gz servo-3548b5edd0a515cd911411a795f52631bc3e1f6e.zip |
Return failure if the tidy self-tests fail.
Diffstat (limited to 'python/tidy/servo_tidy_tests/test_tidy.py')
-rw-r--r-- | python/tidy/servo_tidy_tests/test_tidy.py | 2 |
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 |