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 E996CEB64D8 for ; Thu, 22 Jun 2023 11:44:54 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CB4F18634D; Thu, 22 Jun 2023 13:44:51 +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="oJVVdLj0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9AA9B8627E; Thu, 22 Jun 2023 13:44:48 +0200 (CEST) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (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 F367084702 for ; Thu, 22 Jun 2023 13:44:45 +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-wr1-x434.google.com with SMTP id ffacd0b85a97d-312863a983fso2167839f8f.2 for ; Thu, 22 Jun 2023 04:44:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1687434285; x=1690026285; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OMBqEPzN0cdVDvWl/h6zH54rm24Gmyerix6ROwT1XmE=; b=oJVVdLj0/AZJfSWZIrg8QTnH7KY2VtkkJVHC8UUWiXRQ5g7nqOfOsJfUWzKmQBZq2N WZW29nkbLoiDCbp6n4Nf6KvbibZaDeph9rh/1i3PSF9F8n30v1ZjBDip1D6JkaLHwjLj pgayjtkJrnUZ+BId3yPJRTYXb8L9bup8x7gjM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687434285; x=1690026285; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OMBqEPzN0cdVDvWl/h6zH54rm24Gmyerix6ROwT1XmE=; b=ShrUSMk5ovFCd5t0s8mjIvAjsWrZqRLQ4SgyY9tCNVz2UZI5ULPfC1Y0Cxw3ddLjl6 5FW6h4B0fKlPDiFbpJCVbbXs1VKCqOzwuFDbsqF3keOp7hhxXBfQqUeF8QWRg6hBunq5 w+6VB2WfaLwb6VF25U9Kz5dvEvg9L0BdWosknR0fowMfHkP6fzl+6zI4N2+TvuB9u6H2 DNHxdVyOyiaJ4EP1FHilGtQEkuDwAO8tiIk6+UVurFB9hYRkHmONieEOUy1wgN8gwusL uW8yfzsP2YUC+ic+sBJH9AgGIxK5iGJ4NUo6uOvwDY/Ld6BbZ/NgJR3GxdGqG0dGpXzu 3tAg== X-Gm-Message-State: AC+VfDzexCP+H+qy4WT3y722mLss2cclFuPFAX5JfdAt71/Zq/xwIy92 WmXEHAuRBh1R3uIqoD1FIw8uXSZGXBW3ACL/cgfmAQ== X-Google-Smtp-Source: ACHHUZ7jzsF1aFocllcFpMgcPm7zq0Mpnu8h3sCE+9h/FDsoAso0aIFERpcg4nIxiQbkj/ADTWimGg== X-Received: by 2002:a5d:4387:0:b0:311:f51:66b1 with SMTP id i7-20020a5d4387000000b003110f5166b1mr1519035wrq.19.1687434285096; Thu, 22 Jun 2023 04:44:45 -0700 (PDT) Received: from sjg1.corp.google.com ([2a00:79e0:d:11:3613:a1c6:41ce:326d]) by smtp.gmail.com with ESMTPSA id f14-20020adfe90e000000b003111a9a8dbfsm6858286wrm.44.2023.06.22.04.44.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 04:44:32 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Mike Frysinger , Simon Glass Subject: [PATCH 1/2] buildman: Fix verboose typo and add comment Date: Thu, 22 Jun 2023 12:44:23 +0100 Message-ID: <20230622114426.2114584-1-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.162.gfafddb0af9-goog 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 --- 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.162.gfafddb0af9-goog