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 99C22C0015E for ; Sun, 16 Jul 2023 00:37:38 +0000 (UTC) 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) 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 ; 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 ; 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 To: U-Boot Mailing List Cc: Mike Frysinger , Simon Glass 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 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 --- 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.455.g037347b96a-goog