From de568681f1683b8539d759f72bf8307ec085d2d1 Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Tue, 29 Mar 2011 14:53:23 +0000 Subject: [PATCH] Disable owners.sh for now since it's known to fail. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/6755003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@79682 0039d316-1c4b-4281-b951-d872f2087c98 --- git_cl/PRESUBMIT.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/git_cl/PRESUBMIT.py b/git_cl/PRESUBMIT.py index c37dce22c0..501ea1f8bc 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)