From patchwork Mon Nov 13 04:52:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 837352 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; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="HHImAu2o"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yZzCf0gNJz9s71 for ; Mon, 13 Nov 2017 16:07:26 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id CEAFFC21E84; Mon, 13 Nov 2017 04:55:41 +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=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 3824EC21E55; Mon, 13 Nov 2017 04:53:36 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 49B21C21E70; Mon, 13 Nov 2017 04:53:05 +0000 (UTC) Received: from mail-oi0-f68.google.com (mail-oi0-f68.google.com [209.85.218.68]) by lists.denx.de (Postfix) with ESMTPS id 63883C21E4D for ; Mon, 13 Nov 2017 04:53:00 +0000 (UTC) Received: by mail-oi0-f68.google.com with SMTP id e142so2696534oih.2 for ; Sun, 12 Nov 2017 20:53:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=pHKmZxDAp6fiZis2AErhJuKm0RDhQ4qjVMtpMUC6DHE=; b=HHImAu2of+RZDrPUzStfQ7WiIU2uWpTcUm36GSA1FsVVARjXa/OayFNxRslXbMyESj I23oVSBXRJeeYFYPO7OYJl+FOzZFAXR1cJcqqKQYDNDh7cFp0A6sf5/O0p9hJBZZxrWM wijdrIQ9DJpaogF8jlqmdZDA3IYpnff3mZiqTDmmPo+WC4UXdAK72/v2XhW8oTRGzZC+ Bqb83GAaqxz+txjBr3sRVUmOqXa6dA8z7ZLLcmRS7HdK2MOmgetNfc8be49Oin/orN8y h77rarsXjpU/tlrw901OZQB7apipMe+QDKG847dHJyu+xLpCa/hC77kzRRoWkav5CLf6 Q39Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=pHKmZxDAp6fiZis2AErhJuKm0RDhQ4qjVMtpMUC6DHE=; b=XhagkRX7XBWMvtWqLoive1ZRqnc73dZ0RHsD9fwfRaR+ghMHC7Vy9oxcbhQ9iM2d2J wZNhchzt5jLdELWpLkxjqoQ63Aq17NDoo5qqmpiLFDXbrjT/rO8cAXmGuUSw5ExwY3WU Z4jU7OFBYNW1vQ/Qe/16M2zwGg74xBFgKOOYSHkc9vE8E+K3Sbjshc+jo73BJAorgusB pF2rbfNV5oF1tAKrZ2n3E0hMi+QoyTcwa0hX3kF81Ck4lKqAF4vOnAZgslW/bCxy9ka5 32Icj0906YMAgUE4qX6nyImwGsXXM56d/ViqRJpMQJ8icUBkBKpBGkogghjDJ0fVQaXl 6GWg== X-Gm-Message-State: AJaThX43AZGHUa89FPXgzxKvdgiKbxqw038pZL+TS1M4GMDgkmU+n1Rc GLnhPfg8lZd8HQyIB+vxrnFq+A== X-Google-Smtp-Source: AGs4zMaWugQph5bFAO/DLD7INqS+s6ZHm72FoJI/9HrWRcp6/lIo0w2gnJDcCzmXzQe+luzGblTVew== X-Received: by 10.202.213.76 with SMTP id m73mr4211625oig.79.1510548778882; Sun, 12 Nov 2017 20:52:58 -0800 (PST) Received: from kiwi.bld.corp.google.com ([104.132.211.89]) by smtp.gmail.com with ESMTPSA id t207sm7085532oif.42.2017.11.12.20.52.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Nov 2017 20:52:55 -0800 (PST) Received: by kiwi.bld.corp.google.com (Postfix, from userid 121222) id 8B805142417; Sun, 12 Nov 2017 21:52:53 -0700 (MST) From: Simon Glass To: U-Boot Mailing List Date: Sun, 12 Nov 2017 21:52:08 -0700 Message-Id: <20171113045231.15911-5-sjg@chromium.org> X-Mailer: git-send-email 2.15.0.448.gf294e3d99a-goog In-Reply-To: <20171113045231.15911-1-sjg@chromium.org> References: <20171113045231.15911-1-sjg@chromium.org> Cc: Tom Rini Subject: [U-Boot] [PATCH 04/26] binman: Rename tests to ftest 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" At present these tests use the same filename as patman. This adds confusion when running all tests, since error messages look very similar. In fact binman tries to run the wrong tests at present. Rename the tests. Signed-off-by: Simon Glass Signed-off-by: Simon Glass --- tools/binman/binman.py | 4 ++-- tools/binman/{func_test.py => ftest.py} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename tools/binman/{func_test.py => ftest.py} (100%) diff --git a/tools/binman/binman.py b/tools/binman/binman.py index e75a59d9517..d264bcdfa8c 100755 --- a/tools/binman/binman.py +++ b/tools/binman/binman.py @@ -34,7 +34,7 @@ def RunTests(): """Run the functional tests and any embedded doctests""" import entry_test import fdt_test - import func_test + import ftest import test import doctest @@ -44,7 +44,7 @@ def RunTests(): suite.run(result) sys.argv = [sys.argv[0]] - for module in (func_test.TestFunctional, fdt_test.TestFdt, + for module in (ftest.TestFunctional, fdt_test.TestFdt, entry_test.TestEntry): suite = unittest.TestLoader().loadTestsFromTestCase(module) suite.run(result) diff --git a/tools/binman/func_test.py b/tools/binman/ftest.py similarity index 100% rename from tools/binman/func_test.py rename to tools/binman/ftest.py