[Concept,4/4] test: Add qconfig tests to the test runner

Message ID 20260407122656.3462730-5-sjg@u-boot.org
State New
Headers
Series qconfig: Fix #include defconfig sync producing too-large overlays |

Commit Message

Simon Glass April 7, 2026, 12:26 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

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 <sjg@chromium.org>
---

 .azure-pipelines.yml | 1 +
 .gitlab-ci.yml       | 1 +
 test/run             | 1 +
 3 files changed, 3 insertions(+)
  

Patch

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