From patchwork Tue Aug 19 19:39:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 35 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=1755632434; bh=mDv5ydAw0b/tyHt8zBKWyYE516gvhoVQ6TdRfB9RcyQ=; 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=S4mXWwggnfp4gMDohuVsuImBRk1D4sO85EJ6qQZ3z8ybErRrcrN50P5P/37FOBQyP DSF+HSkE++My6vqz4UVueQ4NC/f6SHkge+oWo0ONPy48LLN1ajibKUDc+d0VrTpc8/ eq+A7T5SMKSvYTpDcQJqQt3nlO+xHQigTYfIXuZBRAAQcm8JoJJXFu/DKm74IbeyJL DMAVH3BSqnH9jJ3j/jQsr3aIT31bvbqekbRws01GeIKMQg6J+jpzJoovLtp08q0XXO rq6mL/MtZw8KzSiVCZ/7Vbjz97FaQDvTk/JbG9B2jz7nZxSMyl4E/BfI/Cw79rVqpk 1ysIgB7cqzosQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 66C946761C for ; Tue, 19 Aug 2025 13:40:34 -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 1Tl13KwGR4Zi for ; Tue, 19 Aug 2025 13:40:34 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755632434; bh=mDv5ydAw0b/tyHt8zBKWyYE516gvhoVQ6TdRfB9RcyQ=; 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=S4mXWwggnfp4gMDohuVsuImBRk1D4sO85EJ6qQZ3z8ybErRrcrN50P5P/37FOBQyP DSF+HSkE++My6vqz4UVueQ4NC/f6SHkge+oWo0ONPy48LLN1ajibKUDc+d0VrTpc8/ eq+A7T5SMKSvYTpDcQJqQt3nlO+xHQigTYfIXuZBRAAQcm8JoJJXFu/DKm74IbeyJL DMAVH3BSqnH9jJ3j/jQsr3aIT31bvbqekbRws01GeIKMQg6J+jpzJoovLtp08q0XXO rq6mL/MtZw8KzSiVCZ/7Vbjz97FaQDvTk/JbG9B2jz7nZxSMyl4E/BfI/Cw79rVqpk 1ysIgB7cqzosQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 50DB467619 for ; Tue, 19 Aug 2025 13:40:34 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755632431; bh=gANmfXkHKQjxHQmuolY8HpoF9SYvhQ1fdQyYUICUqxs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eHTIINHNUlZYjSQSpJkUQyYvNoKsonG1BZh84VtuptIGWGEsC9ZgzhtCMYbd7itZ3 5Bfh0zGC5R4wyYQgiQxN6VoXPsnxGYHzY3WTItsgGKyueySc/SpDxQ0lf2byNg/oPN 8UB0jbBsILMAhtL0WYNCBeFvD1/QlvnX5oPUCZL1wcrmWcYboAOAxf1Ss0ViVlS7n8 wkHcRk2zY3jQaOSW4a9Adqc23AROrIR7VbAzjV7FWB9hVVwVa0cxLOXHFIQmjhDZEl FWWoU7uW/9Vin32WStfTog3Wj07qRWl+mmDRQtuAWN2cLjmK4E8SUW0NcgIxENUu8+ 7D+Mqms42eeGQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9F53867607; Tue, 19 Aug 2025 13:40:31 -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 QvfnX_66M4oX; Tue, 19 Aug 2025 13:40:31 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755632427; bh=BlbLKtsLSWvRu0uYlwblyvRdmVH6okhbNb0OudyUwIM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PHWdNdhvcDmGXXmxshcOCkCZxjzfHwvyhFUwt65Tuatl8Eb1TeKSz7Gs2E0Nv5pz5 2rHmOCJvrh8N7fO/5wD/m8ubK6pa1+/qYmBneoYe/Yf6yotaSCoRLHH5bNhRgmBhuE eQNrfl7h1PArDEawVKUhE9S0otmoVPRrWVN4/MbeEDW16lfB75/spTHtlrWDSi3YES ZICYI3kcd6ysHrMALRZWiHWJEdVuD5jPzcFY51Vkrm2h+NzhuS0Ug+GFvWQSmtCXmT qQ6z01jvjbdnMv/z5iChytDbKCjIeuEBFGA8zmoK7gtE1+VC6rIPRy3mHi9YR31ek5 lX+KBalvXDa9w== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 7805667612; Tue, 19 Aug 2025 13:40:27 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Tue, 19 Aug 2025 13:39:08 -0600 Message-ID: <20250819193918.874215-13-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: GZFIDUJPIOW3URPVTAQUR2CLFKNRDNDR X-Message-ID-Hash: GZFIDUJPIOW3URPVTAQUR2CLFKNRDNDR 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 12/15] test/run: Skip xPL tests with make tcheck 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 The original purpose of 'make tcheck' was to run the tools and skip any pytests. This has been lost by the addition of sandbox_noinst and sandbox_vpl Restore the intended behaviour by skipping all tests with sandbox_spl (since it still needs to be built) and skipping the other builds entirely. Signed-off-by: Simon Glass --- test/run | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/test/run b/test/run index b9a8eb1ea3f..c48f08e0844 100755 --- a/test/run +++ b/test/run @@ -50,31 +50,33 @@ if [ -z "$tools_only" ]; then echo "${prompt}" run_test "sandbox" ./test/py/test.py --bd sandbox --build ${para} \ -k "${mark_expr}" -fi -# Run tests which require sandbox_spl -echo "${prompt}" -run_test "sandbox_spl" ./test/py/test.py --bd sandbox_spl --build ${para} \ + # Run tests which require sandbox_spl + echo "${prompt}" + run_test "sandbox_spl" ./test/py/test.py --bd sandbox_spl \ + --build ${para} \ -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} \ + # 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} \ -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} \ + # Run tests which require sandbox_vpl + echo "${prompt}" + run_test "sandbox_vpl" ./test/py/test.py --bd sandbox_vpl \ + --build ${para} \ -k 'vpl or test_spl' -if [ -z "$tools_only" ]; then # Run tests for the flat-device-tree version of sandbox. This is a special # build which does not enable CONFIG_OF_LIVE for the live device tree, so we can # check that functionality is the same. The standard sandbox build (above) uses # CONFIG_OF_LIVE. echo "${prompt}" run_test "sandbox_flattree" ./test/py/test.py --bd sandbox_flattree \ - ${para} --build -k "${ut_mark_expr}" + --build ${para} \ + -k "${ut_mark_expr}" else # Make sure sandbox_spl is built, as we need it from now on ./test/py/test.py --bd sandbox_spl --build -k none