[Concept,20/25] CI: Plumb in the hwids_to_dtsi tests

Message ID 20250903133639.3235920-21-sjg@u-boot.org
State New
Headers
Series Selection of devicetree using CHIDs |

Commit Message

Simon Glass Sept. 3, 2025, 1:36 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

Add this to 'make tcheck' and to CI.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
---

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

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 642f3483fc2..bced2874d2d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -269,7 +269,7 @@  Build tools-only and envtools:
       make mrproper;
       make tools-only_config envtools -j$(nproc)
 
-Run binman, buildman, dtoc, Kconfig and patman test suites:
+Run binman, buildman, dtoc, hwids_to_dtsi, Kconfig and patman test suites:
   extends: .test_suites
   script:
     - git config --global user.name "GitLab CI Runner";
@@ -295,6 +295,7 @@  Run binman, buildman, dtoc, Kconfig and patman test suites:
       ./tools/buildman/buildman -t;
       ./tools/dtoc/dtoc -t;
       ./tools/patman/patman test;
+      python3 ./test/scripts/test_hwids_to_dtsi.py;
       make testconfig
 
 # Check for any pylint regressions
diff --git a/test/run b/test/run
index f6d39989fb8..2ba8324a0c4 100755
--- a/test/run
+++ b/test/run
@@ -102,6 +102,7 @@  run_test "u_boot_pylib" ./tools/u_boot_pylib/u_boot_pylib
 run_test "buildman" ./tools/buildman/buildman -t ${skip}
 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
 
 # This needs you to set up Python test coverage tools.
 # To enable Python test coverage on Debian-type distributions (e.g. Ubuntu):