[Concept,4/4] test: Add qconfig tests to the test runner
Commit Message
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(+)
@@ -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
@@ -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;
@@ -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