Message ID | 20230716003718.231903-2-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Simon Glass |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=UQjMCo/n; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4R3RBX01fjz20bh for <incoming@patchwork.ozlabs.org>; Sun, 16 Jul 2023 10:37:39 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 27010862EB; Sun, 16 Jul 2023 02:37:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="UQjMCo/n"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 13C1986272; Sun, 16 Jul 2023 02:37:28 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A992186202 for <u-boot@lists.denx.de>; Sun, 16 Jul 2023 02:37:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd29.google.com with SMTP id ca18e2360f4ac-785cbc5bfd2so146705339f.2 for <u-boot@lists.denx.de>; Sat, 15 Jul 2023 17:37:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1689467844; x=1692059844; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xW70ARSy3OZ+liFGXNiu4Un25dLx5igHpMSG6EljTs4=; b=UQjMCo/nRb63rUSNDSMTYAjYSV4rHRkJw7rTiWPf18aImaC/PMVZ1XlKCSOoxxpp9G g+B8MJkNG0PXI1PQfyl5TzKw9nfWfQ2gi1/vrYsAkWMjiShkFHUv6vfLHgV+g82SacKi xM2lDFqCahaYtJzQCwLtYMmizwr37ayeUwoWY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689467844; x=1692059844; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xW70ARSy3OZ+liFGXNiu4Un25dLx5igHpMSG6EljTs4=; b=SC7c17hG1yuwkzWB0lOfLjg+2zqUnuj1/zFoCUhzoivrKhXxb3kyL2XZSR600SloJ6 tn1wwb3fqn2VSBcP1sD6HhcSEcqCrLGxeYKlYeQC3Eg6DKVsZeaKQNzm6pbLNFdtsHQ9 aZCsMWA7oMUog+u0IIBrBV8gBTEiJhW4EbdVxhwGz7z4SxYhRigbN64ox1qLgkgBciym 8hhiWy7lpaBMEfDDdOzv5n1e2gvqETwmACoh+oeWPkJ2TRhz+AdGZzvjCciOn6aDkHZj n6u9n++k0lO6+1fXtpbL0MVUZsjHdHohRj0cJbLGCQOOb8VQw/SawIB+uowsOXKVnbv0 DeNA== X-Gm-Message-State: ABy/qLbldspfP1f/s295XZF8yBjpDijyfetF9pHDeHbAiWyNurT0lSP6 JuaSJaZlaN846BLlju1f2zF485sREe7ybBS41jo= X-Google-Smtp-Source: APBJJlE6JEgGLZJmRVZdVDaya8kCMZw3QDuLF13QQWaC6ez0jGhosUUDgxGOMfVRW7A+PJmWYd/rKw== X-Received: by 2002:a92:ddc6:0:b0:346:5813:f7f7 with SMTP id d6-20020a92ddc6000000b003465813f7f7mr6807260ilr.4.1689467844283; Sat, 15 Jul 2023 17:37:24 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id t3-20020a05663801e300b0042b52dc77e3sm3510512jaq.158.2023.07.15.17.37.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jul 2023 17:37:24 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Mike Frysinger <vapier@chromium.org>, Simon Glass <sjg@chromium.org> Subject: [PATCH v3 01/81] buildman: Fix verboose typo and add comment Date: Sat, 15 Jul 2023 18:35:29 -0600 Message-ID: <20230716003718.231903-2-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.455.g037347b96a-goog In-Reply-To: <20230716003718.231903-1-sjg@chromium.org> References: <20230716003718.231903-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
buildman: Refactor code and correct some pylint warnings
|
expand
|
diff --git a/tools/buildman/main.py b/tools/buildman/main.py index 5e1f68d82358..a2ffbc9073e7 100755 --- a/tools/buildman/main.py +++ b/tools/buildman/main.py @@ -28,7 +28,14 @@ from patman import gitutil from u_boot_pylib import terminal from u_boot_pylib import test_util -def RunTests(skip_net_tests, verboose, args): +def RunTests(skip_net_tests, verbose, args): + """Run the buildman tests + + Args: + skip_net_tests (bool): True to skip tests which need the network + verbosity (int): Verbosity level to use (0-4) + args (list of str): List of tests to run, empty to run all + """ from buildman import func_test from buildman import test import doctest @@ -40,7 +47,7 @@ def RunTests(skip_net_tests, verboose, args): # Run the entry tests first ,since these need to be the first to import the # 'entry' module. result = test_util.run_test_suites( - 'buildman', False, verboose, False, None, test_name, [], + 'buildman', False, verbose, False, None, test_name, [], [test.TestBuild, func_test.TestFunctional, 'buildman.toolchain', 'patman.gitutil'])
Fix the typo in the RunTests() function, adding comments while we are here. Signed-off-by: Simon Glass <sjg@chromium.org> --- Changes in v3: - Add new patch to fix verboose typo and add comment tools/buildman/main.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)