From patchwork Tue Aug 19 19:38:56 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 6 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=1755632389; bh=7t7kWEV/3EBX1kt//g8nMuz66md0eD3ylejEcTT+ICM=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=EgQXY+IFZWmkUYOezM2oUhFilZaGkp4RN59txZTup/NzDu0r7P/FXNqRBsYCUWWBX BNkT16/b85We7L2XIAPpOcLD7KcGGKOZG5//Bb4TzWH7niJOdco6MUP96wP47jrFHa 3qviZCw4TcCkReDdJDNZ70KdVh7wS2nAeIUCDWnvgkpCBB3EB7zVWQUH+sZ9hlXj3Q fD8u4KV9OEeeBGyfdbbKX927BKxjylnBCwaHCB1w8jgWb+dicKc5oqB5hvo29ZbNeq P1DhUJm2j8HZBLNXRLKlcFsISS0SaNqbfoqC76VF7EyxrdpJsHTliKsmjHE3pWrtXq oiJ8x75s/7eQQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2ABA86760D for ; Tue, 19 Aug 2025 13:39:49 -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 hdYCca-HNgai for ; Tue, 19 Aug 2025 13:39:49 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755632389; bh=7t7kWEV/3EBX1kt//g8nMuz66md0eD3ylejEcTT+ICM=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=EgQXY+IFZWmkUYOezM2oUhFilZaGkp4RN59txZTup/NzDu0r7P/FXNqRBsYCUWWBX BNkT16/b85We7L2XIAPpOcLD7KcGGKOZG5//Bb4TzWH7niJOdco6MUP96wP47jrFHa 3qviZCw4TcCkReDdJDNZ70KdVh7wS2nAeIUCDWnvgkpCBB3EB7zVWQUH+sZ9hlXj3Q fD8u4KV9OEeeBGyfdbbKX927BKxjylnBCwaHCB1w8jgWb+dicKc5oqB5hvo29ZbNeq P1DhUJm2j8HZBLNXRLKlcFsISS0SaNqbfoqC76VF7EyxrdpJsHTliKsmjHE3pWrtXq oiJ8x75s/7eQQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 19BB667605 for ; Tue, 19 Aug 2025 13:39:49 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755632387; bh=LHid+bKuzlEInvk/FmAIVJ/qavqWpTQ4vYos9YBOVAk=; h=From:To:Cc:Subject:Date:From; b=b/LXQo3Sk3QwKb6gO/ugqzh2mXFcAQSjX1+xRgsAIldLJ18KMvJxccrmPTiqV6BcO 1wNozg0BS2QEte4sQ6dxt2VZJYTv5+dkefmfS6BZSgW6wYUE/eApwoJvBBgnko+UZp VU5qZEYpC80iHZLmn0kbrS/ed7SxVEd7HrocwpSOR8oGX3WIFF9Pvf8ae0EFgr64jr Zf4u6K+vifWipiW058/lkBLLaTPFdAGUzBiyIFl6ydee5Zzo8zvd7NBDwwZLvXPUdw seqFVeIozjp5434yYiRJQET/bwCbjofM3OIO11Kc2tzH0akbr61xLrmlid88Ydh2Fh TdOa4QwOqfOUg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2510967605; Tue, 19 Aug 2025 13:39:47 -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 9IXgvTk97ET6; Tue, 19 Aug 2025 13:39:47 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755632382; bh=e5IbY5O3/JPxQW64LtyOO6kkeO2D8+U8DVyIk74QYEU=; h=From:To:Cc:Subject:Date:From; b=PUAq3FiEIaRqRYZoZUDAEPXaGiw/9j4iCy8CPigr+sYxveXROJVikl48rktNMWJuY q4zTo8tEMXakCJoIznGgVy3E/ENKn0i6k+XPymafjWDyyrRsq+iNn8S8oWr37+SpqI CwcKlTJZ6izkhLZq7IIxUaMm/8Uq8yVM/HfsY11nL3dfXTR5gHYW/2Khspwnl3vBgS bwiBxJ7J06JVtvsn6XhduSq8J94BAvIyr5b71zVnnZVDwuu/4xNB4MLXxdTdzbbhx0 k20PjHhBOrVpOdJRdALGpRj7MAYDsWC1z4xpL+F6UQg8Ry9pvhoiI+A/cQgS6nt++w 3pWEQ2FkqpbkA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 4BA9D5E436; Tue, 19 Aug 2025 13:39:42 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Tue, 19 Aug 2025 13:38:56 -0600 Message-ID: <20250819193918.874215-1-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Message-ID-Hash: U4GB6V45ML3OJ452JKD5ETMLWDLDTFHC X-Message-ID-Hash: U4GB6V45ML3OJ452JKD5ETMLWDLDTFHC 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 00/15] test: Improvements to make check et al 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 It is helpful to be able to run 'make qcheck' to run a subset of the tests in a short time. However this has not always been reliable. Since this feature is not tested in CI it can sometimes break. Now that things are working correctly, add it the various 'make check' combinations to CI, so they will remain functional. Simon Glass (15): patman: Drop hard-coded patchwork server patman: Handle invalid characters in patch files lwip: Fix some unicode warnings from pytest malloc: Avoid defining calloc() buildman: Deal with DTC in environemnt in test_skip_dtc() buildman: Fix pylint warning in test_skip_dtc() buildman: Handle CPP being in the environment buildman: Handle CROSS_COMPILE being in the environment dtoc: Add a test for the fdt_util.EnsureCompiled with indir test: Update test_fdt_add_pubkey() to use a separate dir test/run: Provide the full path to dtc test/run: Skip xPL tests with make tcheck test/run: Run more quietly test/run: Tidy up the tool path for binman CI: Check that make check et al work correctly .gitlab-ci.yml | 47 +++++++++++++++++++ common/malloc_simple.c | 2 +- include/malloc.h | 1 + .../ports/unix/posixlib/include/posix/inet.h | 2 +- .../unix/posixlib/include/posix/sockets.h | 2 +- .../contrib/ports/unix/posixlib/lwipopts.h | 2 +- test/py/tests/test_vboot.py | 2 +- test/run | 45 +++++++++++------- tools/buildman/boards.py | 4 +- tools/buildman/func_test.py | 3 +- tools/buildman/test.py | 10 ++-- tools/dtoc/test/dtoc_test_inc.dts | 14 ++++++ tools/dtoc/test/test-include.dtsi | 5 ++ tools/dtoc/test_fdt.py | 10 ++++ tools/patman/cseries.py | 1 - tools/patman/patchstream.py | 2 +- 16 files changed, 120 insertions(+), 32 deletions(-) create mode 100644 tools/dtoc/test/dtoc_test_inc.dts create mode 100644 tools/dtoc/test/test-include.dtsi