Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 46AACC001B0 for ; Wed, 19 Jul 2023 23:50:25 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AE7958679C; Thu, 20 Jul 2023 01:50:10 +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="Nt14xwpr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 239A88670F; Thu, 20 Jul 2023 01:50:05 +0200 (CEST) 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 1967D8670F for ; Thu, 20 Jul 2023 01:50:01 +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-783698a37beso9164639f.0 for ; Wed, 19 Jul 2023 16:50:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1689810599; x=1690415399; 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=Ry8NFmuHfu/3gwJxguf50BLCav8TAFhAqb8PzaeseBM=; b=Nt14xwpr8tTWpODdc7xlD73jVKta5NHNtR4Yfo+5ZxMVcedUvWHbByIkw06/UarWwp JjxrStZSkr/DH4XORg3yG2vl4RoHZEDYnd9fji3ZQ4Gj1XC7XU+ILabhf9AbJXZE8F6i U+Ta5HuJvLqmDpbcIvYKGWJFhLuKQUxYulubU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689810599; x=1690415399; 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=Ry8NFmuHfu/3gwJxguf50BLCav8TAFhAqb8PzaeseBM=; b=SqbiM4PYMBzWIYFRThZvk/SCmFlEJ+ykFTboyKndPlcjat6dl6PPM3gzmEJhy0gAC0 4cOH1nCU5Mgfx5kEjCpXoS9ZR7PxAS+6iszpq8r4klj34WSkj3LqZgEftsFatJalaNEu eiAHKimsJmCWrHctAAt7MH1xHAGPe9EVKq2PhBoF25LViv3EL/kdtZu9Bid9rDD32TVT jiPJjIsnxWoJRUtZIqz1vB5Vejzxm0HCmZT45Q+2xrMXxuojklxPyAEM19T7rRu2x44j n8MDRHcKMx4KPBD6DJgDic+8P3JmCKlPs2KvxbFR1sR5pEuXbiG63gJkvDclzF11vUa5 zQ8A== X-Gm-Message-State: ABy/qLaH6og+kCmDJfTCWNfhPirjliirgw0NQItlILX9ER14nGW/HvGn d2CmAF7Nlkue9E3NNt2lhj+SFxb2uVz0FnDD9Kk= X-Google-Smtp-Source: APBJJlF+H9P1OdxUrlb/ZfuzFTWKfEGGBzYsvEfOPLd9JaT9eEoTxhTWFaG2SLuG1gBRYCH0Q7d2PA== X-Received: by 2002:a5d:8b08:0:b0:77e:249e:d84 with SMTP id k8-20020a5d8b08000000b0077e249e0d84mr7505668ion.5.1689810599647; Wed, 19 Jul 2023 16:49:59 -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 ed16-20020a056638291000b0042bb1779c18sm1551779jab.151.2023.07.19.16.49.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 16:49:59 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Mike Frysinger , Simon Glass Subject: [PATCH v4 01/83] buildman: Fix verboose typo and add comment Date: Wed, 19 Jul 2023 17:48:09 -0600 Message-ID: <20230719234953.796101-2-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.487.g6d72f3e995-goog In-Reply-To: <20230719234953.796101-1-sjg@chromium.org> References: <20230719234953.796101-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Fix the typo in the RunTests() function, adding comments while we are here. Signed-off-by: Simon Glass --- (no changes since v3) 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(-) 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']) -- 2.41.0.487.g6d72f3e995-goog