From patchwork Tue Aug 19 19:39:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 36 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755632436; bh=7iGBzJ5fcXHTv19wY6ZN4fDAX/aK0u2uRFeaIgIJUJw=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=niW5hFh+6jpVElUtqNcSJVZf0dEGFHb5sIwWY5ab/bOL/JFG/6FFAkWu5oNmo97GM ap6Ezb/0cv5sXR1BA4TWmcFAG44jHaxLxJNsabSJRPmiJlADF2LnmZvdyaUQW1Do7h HtogmfNZMA9IP1aG7IegbQGI/8IzUXIqmu4SFoAzw2Hv3DR+i4zZC3sMHOJmaEoi3t X8M5sooYTuA5N4Lv1XJzxKdFYUfysgbZW+6b2UEmhCt6o72MR0pmELREva2mHkpAR4 +9DKQu8fKIbxxir6gEdTJL9d9QMFpfBWnXQtGXMhVBUqpL3GboeFgcjRCBbY/fZR/3 WzA1CqQcAgblw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id DC6CC6762B for ; Tue, 19 Aug 2025 13:40:36 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id ZzHLoud7G6Th for ; Tue, 19 Aug 2025 13:40:36 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755632436; bh=7iGBzJ5fcXHTv19wY6ZN4fDAX/aK0u2uRFeaIgIJUJw=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=niW5hFh+6jpVElUtqNcSJVZf0dEGFHb5sIwWY5ab/bOL/JFG/6FFAkWu5oNmo97GM ap6Ezb/0cv5sXR1BA4TWmcFAG44jHaxLxJNsabSJRPmiJlADF2LnmZvdyaUQW1Do7h HtogmfNZMA9IP1aG7IegbQGI/8IzUXIqmu4SFoAzw2Hv3DR+i4zZC3sMHOJmaEoi3t X8M5sooYTuA5N4Lv1XJzxKdFYUfysgbZW+6b2UEmhCt6o72MR0pmELREva2mHkpAR4 +9DKQu8fKIbxxir6gEdTJL9d9QMFpfBWnXQtGXMhVBUqpL3GboeFgcjRCBbY/fZR/3 WzA1CqQcAgblw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id B52C867607 for ; Tue, 19 Aug 2025 13:40:36 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755632433; bh=6CRoJ0VyhUuZpzd4UftCzpakUKh4iUpzL2qzL4t5lt8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P/s3Jxgj8ZCj/0+k+yD9JGFnTIhXejiOTcTBlGsA9vlJuaW6Kxvrf4Bd6P6nVu7Dl KsWl5WAO0F4xLLdmfPhNvqHUtBHxghipDwWWwGmSyGMC/q0ixcdgUNWYkRzq27Wxrt pMy6w+LOx3/TVD1Al1aYqjBzyxoDCc7C6msRnJNSsO18OeLVOBydeqUB3xHUSCoJdr VHoq6mJoLUVYzz38lvymyLpQ3zp3I8UV48kt7lCCDu/vWZYEZvT30Jcs0d2mepidec ARabuoijyDBIlnTVbdCc8rdTidoOhtvrcyMAW20Wpo/RxfujMBduYOMqJykVLoy3SD iUPUowuLA+3gA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id BEDE067607; Tue, 19 Aug 2025 13:40:33 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id 20jX6AwDzPoK; Tue, 19 Aug 2025 13:40:33 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755632432; bh=Nnv8A8dgRaTQWFgoyEoi/9P6BsAIsTH/pssfBRGag4g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IPXLYtUB/1P7B/F87w+6fDUrSJd7x5HWzlnpfwh5d4zPCGUlZba+wxIaIkc+q4aZi FMc06HssctfYZ7PIwPTakoQr8WwZd74YT8iFjRJedPztSTbV/+kPovROYWMkCN82IX 9IpwdMOW5LMQhhUrrgXowG6mCMFffMWHzYvYbbNNasDTimeVp5KHJx9B1VmytMYJDh K83miqw0cUeLvIwD2v34qpbPKXYgbuopywX5a7N/KwSVbTK2UlyU8Lr3YQsBwhkrZD PD+RziGl7C20OavjmGKximPAWPTcaJqozHTNcHclfzZrNKeabmdye/3rGBp6VmFqCB 6/iC/9HbDwyAw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id E208F6760D; Tue, 19 Aug 2025 13:40:31 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Tue, 19 Aug 2025 13:39:09 -0600 Message-ID: <20250819193918.874215-14-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250819193918.874215-1-sjg@u-boot.org> References: <20250819193918.874215-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: NNUUH5RQKBCJO63Y4MVB7HMKRNH2N25A X-Message-ID-Hash: NNUUH5RQKBCJO63Y4MVB7HMKRNH2N25A X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 13/15] test/run: Run more quietly List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass Pytest shows about 10 lines of output of limited merit at the top. Use the -q flag to request that it doesn't so that the actionable things are more visible. Signed-off-by: Simon Glass --- test/run | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/test/run b/test/run index c48f08e0844..1f60fc8fb61 100755 --- a/test/run +++ b/test/run @@ -13,6 +13,8 @@ run_test() { [ $? -ne 0 ] && failures=$((failures+1)) } +quiet=-q + # Clean up things the Makefile created unset MAKE MAKEFLAGS MAKELEVEL MAKEOVERRIDES MAKE_TERMERR MAKE_TERMOUT @@ -49,24 +51,24 @@ if [ -z "$tools_only" ]; then # Run all tests that the standard sandbox build can support echo "${prompt}" run_test "sandbox" ./test/py/test.py --bd sandbox --build ${para} \ - -k "${mark_expr}" + ${quiet} -k "${mark_expr}" # Run tests which require sandbox_spl echo "${prompt}" run_test "sandbox_spl" ./test/py/test.py --bd sandbox_spl \ - --build ${para} \ + --build ${para} ${quiet} \ -k 'test_ofplatdata or test_handoff or test_spl' # Run the same tests with sandbox_noinst (i.e. without OF_PLATDATA_INST) echo "${prompt}" run_test "sandbox_noinst" ./test/py/test.py --bd sandbox_noinst \ - --build ${para} \ + --build ${para} ${quiet} \ -k 'test_ofplatdata or test_handoff or test_spl' # Run tests which require sandbox_vpl echo "${prompt}" run_test "sandbox_vpl" ./test/py/test.py --bd sandbox_vpl \ - --build ${para} \ + --build ${para} ${quiet} \ -k 'vpl or test_spl' # Run tests for the flat-device-tree version of sandbox. This is a special @@ -75,7 +77,7 @@ if [ -z "$tools_only" ]; then # CONFIG_OF_LIVE. echo "${prompt}" run_test "sandbox_flattree" ./test/py/test.py --bd sandbox_flattree \ - --build ${para} \ + --build ${para} ${quiet} \ -k "${ut_mark_expr}" else # Make sure sandbox_spl is built, as we need it from now on