Index: git_cl/PRESUBMIT.py |
diff --git a/git_cl/PRESUBMIT.py b/git_cl/PRESUBMIT.py |
index c37dce22c07658e89251d9e2c981cb44548b9fa8..501ea1f8bce045ed86b6d49867123c74ea992815 100644 |
--- a/git_cl/PRESUBMIT.py |
+++ b/git_cl/PRESUBMIT.py |
@@ -48,10 +48,11 @@ def RunTests(input_api, output_api): |
test_path = input_api.os_path.abspath( |
input_api.os_path.join(input_api.PresubmitLocalPath(), 'test')) |
for test in listdir(test_path): |
- # push-from-logs and rename fails for now. Remove from this list once |
- # they work. |
- if (test in ('push-from-logs.sh', 'rename.sh', 'test-lib.sh') or |
- not test.endswith('.sh')): |
+ # test-lib.sh is not an actual test so it should not be run. The other |
+ # tests are tests known to fail. |
+ DISABLED_TESTS = ( |
+ 'owners.sh', 'push-from-logs.sh', 'rename.sh', 'test-lib.sh') |
+ if test in DISABLED_TESTS or not test.endswith('.sh'): |
continue |
print('Running %s' % test) |