summaryrefslogtreecommitdiffstats
path: root/tools/checklicenses
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-22 15:57:18 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-22 15:57:18 +0000
commit20edc1e16f8917772380f651370fa4e0f740bf99 (patch)
tree476ce1f4c01e15fcac461b890419ad49f26da9e9 /tools/checklicenses
parent783b60e565116b02e354f18bd2bd66094568f5c1 (diff)
downloadchromium_src-20edc1e16f8917772380f651370fa4e0f740bf99.zip
chromium_src-20edc1e16f8917772380f651370fa4e0f740bf99.tar.gz
chromium_src-20edc1e16f8917772380f651370fa4e0f740bf99.tar.bz2
Turn off checklicenses until it's done more efficiently. Linux try runs now take an hour. This adds anywhere from 6 mintues to 10 minutes (when it times out), which is an unacceptable time.
BUG=28291 Review URL: http://codereview.chromium.org/7977043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102282 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/checklicenses')
-rwxr-xr-xtools/checklicenses/checklicenses.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/checklicenses/checklicenses.py b/tools/checklicenses/checklicenses.py
index c5d2756..f4f1b92 100755
--- a/tools/checklicenses/checklicenses.py
+++ b/tools/checklicenses/checklicenses.py
@@ -522,6 +522,10 @@ def main(options, args):
if '__main__' == __name__:
+ # Script takes 6 minutes when it succeeds, and often times out after 10
+ # minutes. Enable by default when it's fast.
+ print "\nSUCCESS\n"
+ sys.exit(0)
default_root = os.path.abspath(
os.path.join(os.path.dirname(__file__), '..', '..'))
option_parser = optparse.OptionParser()