From patchwork Mon Jul 8 19:18:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1129300 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="D+Erxv0d"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45jG4f3PRgz9sDB for ; Tue, 9 Jul 2019 05:40:02 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id ED36CC21DD7; Mon, 8 Jul 2019 19:27:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 9CBE7C21DDC; Mon, 8 Jul 2019 19:21:37 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 6CE3EC21DDC; Mon, 8 Jul 2019 19:21:21 +0000 (UTC) Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) by lists.denx.de (Postfix) with ESMTPS id 56842C21E15 for ; Mon, 8 Jul 2019 19:21:17 +0000 (UTC) Received: by mail-io1-f42.google.com with SMTP id z3so22879572iog.0 for ; Mon, 08 Jul 2019 12:21:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZY/tjCOBLSktABTRs0V60v7iaNFQOwIUsFF5V/aXlss=; b=D+Erxv0duHs+BVz7f5w0JiWLfgqbtglmPYkS9TYOHBaVsLF9RPmXGQNr7l4tQhnxSy goPjuFA85YFcEbwrrQufwiKljqLbAOOoud9oQzn6PUSXb9yBV6zJO/LRtG7UialyL3AN Vu5zKr3Y1W8n1VQ1OtPIkzENCbmskagCDHfgo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZY/tjCOBLSktABTRs0V60v7iaNFQOwIUsFF5V/aXlss=; b=hKRFnRqhvSARUfFwBk9EiIPdC+yW83tplndV1XWhBN33QwAKZw6tLVbATTudJ5vj5X r5tNxYtrIca9jIx4t/cA78AdLi42rRUM0kOaYw7q1EuFpmObzxBnPKoiwOlry3nMyvFW vbXsrd0iWm1ts4qadyUrCI09OJoaoktserDTTCIcP3vysNaxDa6LzlX75Z+pxY8dqM05 ptguPSNU2dyk1KhDqY5KlDn74Ks+Kabzc0Odj1eWdqWcTn4C2MFjWwWchfVWTCnKYmX/ IM/uEfVuVma1KjlZ5by9BBiSd6ow0ltgHdFu6fRWoN/tO4AUJpZDfKWG4RiA6lu1QDYe wCxQ== X-Gm-Message-State: APjAAAXPMqCM3bLQqvsE54Z/1KKo7RD0kmvs85LP0Rz3ZDFgoSK6DSV8 MOWdSTXsmI++jZkCI/TsO3JJZRX4hXY= X-Google-Smtp-Source: APXvYqz1kOBS3/ppzUuST/i/qF/LN/6ubDxq4MhkqosVlhHDEXU1oCsrZe7AE75JxFU8d4JqN/DHkQ== X-Received: by 2002:a5d:9d58:: with SMTP id k24mr20385258iok.116.1562613676216; Mon, 08 Jul 2019 12:21:16 -0700 (PDT) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id j1sm15545094iop.14.2019.07.08.12.21.15 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 08 Jul 2019 12:21:15 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Mon, 8 Jul 2019 13:18:43 -0600 Message-Id: <20190708191856.138863-25-sjg@chromium.org> X-Mailer: git-send-email 2.22.0.410.gd8fdbe21b5-goog In-Reply-To: <20190708191856.138863-1-sjg@chromium.org> References: <20190708191856.138863-1-sjg@chromium.org> MIME-Version: 1.0 Subject: [U-Boot] [PATCH v2 24/37] binman: Drop unnecessary debug handling X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The -D option enables debug mode, but we only need to add -D to the command line once. Drop the duplicate code. Also drop the comment about enabling debugging since this can be done with -D. Signed-off-by: Simon Glass Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/binman.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/binman/binman.py b/tools/binman/binman.py index 05aeaecd8f3..bab98826dc6 100755 --- a/tools/binman/binman.py +++ b/tools/binman/binman.py @@ -71,8 +71,6 @@ def RunTests(debug, processes, args): sys.argv = [sys.argv[0]] if debug: sys.argv.append('-D') - if debug: - sys.argv.append('-D') # Run the entry tests first ,since these need to be the first to import the # 'entry' module. @@ -151,9 +149,6 @@ def RunBinman(options, args): """ ret_code = 0 - # For testing: This enables full exception traces. - #options.debug = True - if not options.debug: sys.tracebacklimit = 0