From patchwork Tue Apr 7 12:26:51 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 2155 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=1775564849; bh=TRu1LzHgNAlGh5BpPsTvMP6/SXc36mmW5K6FGbCdC78=; 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=ccJy+0pe1qXCJLa4433ACYtR9sTyeN1Meodlxn8u49u98hpiEx5GJFlfISy1Qd96S YWp3adRfigbaVHAYH8no5ePJbX+bQgAvvqa+48z9s19sc7kNfWZ4vW+2y6mhnjUn8/ /hjalF0e+Fz1ENIFwVBw+QW8DE+dUnK+n8XYVZg8UQfMq1fiiPCz+FLD9r+sMirK60 FIt+gNcRHLFPN+dzZS3TwWYUEdd936v0lb+1UY+LnUyX6QdWaiMyFS6Oy6QOZBADew 1XmfNmAOkd0QRGTFLrfxJ4G7eqgTPXhMqo/ZKS4hBoXaAilHvpmoP7mf6wZGKNub3M LYfysQuxVRddQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 62FEF6A39B for ; Tue, 7 Apr 2026 06:27:29 -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 6omDXCOeYNjz for ; Tue, 7 Apr 2026 06:27:29 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1775564848; bh=TRu1LzHgNAlGh5BpPsTvMP6/SXc36mmW5K6FGbCdC78=; 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=LM1D2yCr06t8b6A2BlIUwSxOKs46UuxzSR+1rTiSJwDYGTszAaFQPEqFGlqx2sKnj qPONFWPb+ZTSGI/hs0OvZk7LDcupwtul3KRmmr4B3aN5cWtx6k4fSAa5zq5k7kmNYT zRobVv3Y9R8MFXFYRwSX+SkUlFalktT8HbGVPvzdQa7Zuhjq4Ri0yOAEyipQMo0ik9 lk57zcQIB5u5H/wYlpppTjVtOUziihyp40phRf2pogeWuvirVBZuGk7lvEjQ2565jO z0BSZtjzVoHsoCOCaO00JB1/VhT3e3gVhN3HjqhFVZ1TEMSBgCuLdxerOgPF5RrjoU NTo+DgODpoGBg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 5B6676A39E for ; Tue, 7 Apr 2026 06:27:28 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1775564846; bh=MmBmgOmRloQAgnkENAcuQ30JyULGU5G/6j4nY0csBGw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b24STksxODy8dQ1KPb3fCIYxcaG2rqu63YraWrXMLkW/wLHmhvExGfEJFkf/Q6W6N RAYIC+ayGbsCGeIvlrCIgOssxRw33huCunvS2fQLh7IVNjXvac66kqsQ5LpNelSh6E W8Qzy/oS37+YcEoFi2W/ldbo4kemvryl6099N4q0TY26lT4odrssPO4FRCauUSmitX Vnh9ujM/5Yak45gqg73C9dtDDteOGgsjnyYp7rFPCXYdzFzbvZ9SprUCBL0MuBcPx/ oOyp9aGXrGxXfIzgzMCnS8evJVm0mkvNGB/ODcrh6M0BhWoqtexqwzn2g4GbHE0kTZ Pz5wQe5v99hSQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 8C2C36A39B; Tue, 7 Apr 2026 06:27:26 -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 m81wHjhKQVEB; Tue, 7 Apr 2026 06:27:26 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1775564841; bh=MCF8HhiznRDGmLTVwu4tXpyeKR2g9Zjh8Obqmb6Iuak=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=luXFcLfX31jX3WxDZjWZcxRsH7BdVSObp8GEq2OTP6kfnbxNbjx9fBpH5uJS99seu 0bYc7L8LmjqOI2D7MNbzsQ/Ni+AZWhGjzgroQpM6uoDz/NeFVBfSEoxmqouDzBbaW7 kjth884c0oRjtNtmEHAZvLs3/xFNdmE2uoAB3seTKHXDSupoWw344tw4HcXHTrzD14 /64y2VLwk3NrQvz2yVjev3iwCLdAo7Y4nO5KqO8P7iEe/GUzsxS4uds6LqK9LJqmsc TaU7Kcr4WzeR84Q+DWU7HTkUBPyRbZdJlHPXqFRo0cH3W4CfAuN+pfE1Bw0BCzNe+J VD4CChX/CaptQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id A89626A3A6; Tue, 7 Apr 2026 06:27:21 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Tue, 7 Apr 2026 06:26:51 -0600 Message-ID: <20260407122656.3462730-5-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260407122656.3462730-1-sjg@u-boot.org> References: <20260407122656.3462730-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: TTI5AH2JVCGTLAOHUJWOUQIY5FQ23XRJ X-Message-ID-Hash: TTI5AH2JVCGTLAOHUJWOUQIY5FQ23XRJ 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 4/4] test: Add qconfig tests to the test runner 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 qconfig tool has unit tests (qconfig.py -t) but they are not run by the test runner. Add them alongside the other tool tests so they run as part of 'make tcheck'. Signed-off-by: Simon Glass --- .azure-pipelines.yml | 1 + .gitlab-ci.yml | 1 + test/run | 1 + 3 files changed, 3 insertions(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 09642e3295e..dad616efa9e 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -149,6 +149,7 @@ stages: ./tools/binman/binman --toolpath ${UBOOT_TRAVIS_BUILD_DIR}/tools tool -f missing ./tools/binman/binman --toolpath ${UBOOT_TRAVIS_BUILD_DIR}/tools test ./tools/buildman/buildman -t + ./tools/qconfig.py -t ./tools/dtoc/dtoc -t ./tools/u_boot_pylib/u_boot_pylib test ./tools/patman/patman test diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7b5097abbdf..a21d54c6c4a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -324,6 +324,7 @@ Run binman, buildman, dtoc, hwids_to_dtsi, Kconfig, patman and pickman suites: ./tools/binman/binman ${TOOLPATH} test; ./tools/binman/binman ${TOOLPATH} test -T; ./tools/buildman/buildman -t; + ./tools/qconfig.py -t; ./tools/dtoc/dtoc -t; ./tools/u_boot_pylib/u_boot_pylib test; ./tools/patman/patman test; diff --git a/test/run b/test/run index 20bad7bc5b5..89b3af05109 100755 --- a/test/run +++ b/test/run @@ -108,6 +108,7 @@ run_test "patman" ./tools/patman/patman test run_test "u_boot_pylib" ./tools/u_boot_pylib/u_boot_pylib test run_test "buildman" ./tools/buildman/buildman -t ${skip} +run_test "qconfig" ./tools/qconfig.py -t run_test "fdt" ./tools/dtoc/test_fdt -t run_test "dtoc" ./tools/dtoc/dtoc -t run_test "hwids_to_dtsi" python3 ./test/scripts/test_hwids_to_dtsi.py