From patchwork Tue Aug 5 14:47:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 376725 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id F2D271400F1 for ; Wed, 6 Aug 2014 00:50:01 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 683D0B3922; Tue, 5 Aug 2014 16:48:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hf6DD+6ukinQ; Tue, 5 Aug 2014 16:48:59 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D0DC4B3958; Tue, 5 Aug 2014 16:47:58 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 72CF0B3917 for ; Tue, 5 Aug 2014 16:47:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6DIZQg6vaWPZ for ; Tue, 5 Aug 2014 16:47:50 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pd0-f202.google.com (mail-pd0-f202.google.com [209.85.192.202]) by theia.denx.de (Postfix) with ESMTPS id 17F8FB392C for ; Tue, 5 Aug 2014 16:47:28 +0200 (CEST) Received: by mail-pd0-f202.google.com with SMTP id w10so250875pde.1 for ; Tue, 05 Aug 2014 07:47:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=UFDp1ObvNrcCRvGCbDjEBERi/YX9HpJBeZcSoLRN8TA=; b=epoh5c3mL5RB84IMetmvcjHjfQDjzHOuNxP0XNrZqsw1FdPlC1bnjCjH0fT9ZoDFd+ iredc//4l6Fz+p9LYIbfs6KfEowvcT9MY7orD10TCVUP50RlY1oBrBzla8kUrEsrzcFR fbLwm7mMGolaKePS9TbRX287Xsr6HRpH7cuSmByggCImyaZWa+lm/BXAY5omo3OSDOMW h5On7WRzDyJwwclRldh4QgZ/Yj4+QLmL3NqwSoZ+T6jkgNT76J5t4JUzdg+qjaH5BdSc 5E92WnNjEYCuA8UGILGyKxr9fCRZRSjaS7xFivJj/fLB4d52ZsxUWrm5l8I0qMMC1Krd CKRw== X-Gm-Message-State: ALoCoQlce7jp5wu23Tghfxlnuay4x3UlMfdoZR9HpQdzUs1NIUOXGqy7JFt2ua0RVWg+5pJcGvPm X-Received: by 10.70.89.97 with SMTP id bn1mr2209851pdb.5.1407250047467; Tue, 05 Aug 2014 07:47:27 -0700 (PDT) Received: from corp2gmr1-1.hot.corp.google.com (corp2gmr1-1.hot.corp.google.com [172.24.189.92]) by gmr-mx.google.com with ESMTPS id j43si111245yhh.5.2014.08.05.07.47.27 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Aug 2014 07:47:27 -0700 (PDT) Received: from kaki.bld.corp.google.com (kaki.bld.corp.google.com [172.29.216.32]) by corp2gmr1-1.hot.corp.google.com (Postfix) with ESMTP id 462B731C474; Tue, 5 Aug 2014 07:47:27 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 025D9220893; Tue, 5 Aug 2014 08:47:26 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Tue, 5 Aug 2014 08:47:00 -0600 Message-Id: <1407250023-9501-11-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.0.0.526.g5318336 In-Reply-To: <1407250023-9501-1-git-send-email-sjg@chromium.org> References: <1407250023-9501-1-git-send-email-sjg@chromium.org> Cc: Tom Rini , Jeroen Hofstee Subject: [U-Boot] [PATCH v4 10/13] buildman: Add a message indicating there are no errors X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de If buildman finds no problems it prints nothing. This can be a bit confusing, so add a message that all is well. Signed-off-by: Simon Glass --- Changes in v4: - Add new patch to show a message when there are no errors Changes in v3: None Changes in v2: None tools/buildman/builder.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py index f148b93..e33f31e 100644 --- a/tools/buildman/builder.py +++ b/tools/buildman/builder.py @@ -891,10 +891,13 @@ class Builder: self.col.MAGENTA) for arch, target_list in arch_list.iteritems(): print '%10s: %s' % (arch, target_list) + self._error_lines += 1 if better_err: print self.col.Color(self.col.GREEN, '\n'.join(better_err)) + self._error_lines += 1 if worse_err: print self.col.Color(self.col.RED, '\n'.join(worse_err)) + self._error_lines += 1 if show_sizes: self.PrintSizeSummary(board_selected, board_dict, show_detail, @@ -937,9 +940,12 @@ class Builder: self.commit_count = len(commits) if commits else 1 self.commits = commits self.ResetResultSummary(board_selected) + self._error_lines = 0 for commit_upto in range(0, self.commit_count, self._step): self.ProduceResultSummary(commit_upto, commits, board_selected) + if not self._error_lines: + print self.col.Color(self.col.GREEN, '(no errors to report)') def SetupBuild(self, board_selected, commits):