From 1a4a9665d4c6e976cba2200294dbd61c8936bfcc Mon Sep 17 00:00:00 2001 From: Chris Sosa Date: Fri, 3 Dec 2010 16:28:33 -0800 Subject: [PATCH] Have upload_prebuilts respect the debug flag. Chrome PFQ right now is uploading prebuilts which wasn't meant to happen :( Change-Id: I502a0621a6c9f655e5a3f890dd79e00652925902 BUG=chromium-os:8693 TEST=Ran cbuildbot with --debug Review URL: http://codereview.chromium.org/5595004 --- bin/cbuildbot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/cbuildbot.py b/bin/cbuildbot.py index c75e467cc7..2e86ae4173 100755 --- a/bin/cbuildbot.py +++ b/bin/cbuildbot.py @@ -701,8 +701,9 @@ def main(): if buildconfig['master']: # Master bot needs to check if the other slaves completed. if cbuildbot_comm.HaveSlavesCompleted(config): - _UploadPrebuilts(buildroot, board, buildconfig['rev_overlays'], - [new_binhost]) + if not options.debug: + _UploadPrebuilts(buildroot, board, buildconfig['rev_overlays'], + [new_binhost]) _UprevPush(buildroot, tracking_branch, buildconfig['board'], push_overlays, options.debug) else: