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(-)
@@ -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
@@ -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):