From: Simon Glass <simon.glass@canonical.com> Add pickman test suite to the existing tool test job alongside binman, buildman, dtoc and patman tests. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- .gitlab-ci.yml | 6 ++++-- tools/pickman/requirements.txt | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 tools/pickman/requirements.txt diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ed517d123b0..4d97291b484 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -273,7 +273,7 @@ Build tools-only and envtools: make mrproper; make tools-only_config envtools -j$(nproc) -Run binman, buildman, dtoc, hwids_to_dtsi, Kconfig and patman test suites: +Run binman, buildman, dtoc, hwids_to_dtsi, Kconfig, patman and pickman suites: extends: .test_suites script: - git config --global user.name "GitLab CI Runner"; @@ -284,7 +284,7 @@ Run binman, buildman, dtoc, hwids_to_dtsi, Kconfig and patman test suites: . /tmp/venv/bin/activate; pip install -r test/py/requirements.txt -r tools/binman/requirements.txt -r tools/buildman/requirements.txt -r tools/patman/requirements.txt - -r tools/u_boot_pylib/requirements.txt; + -r tools/pickman/requirements.txt -r tools/u_boot_pylib/requirements.txt; export UBOOT_TRAVIS_BUILD_DIR=/tmp/tools-only; export PYTHONPATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt"; export PATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc:${PATH}"; @@ -299,6 +299,8 @@ Run binman, buildman, dtoc, hwids_to_dtsi, Kconfig and patman test suites: ./tools/buildman/buildman -t; ./tools/dtoc/dtoc -t; ./tools/patman/patman test; + ./tools/pickman/pickman test; + ./tools/pickman/pickman test -T; python3 ./test/scripts/test_hwids_to_dtsi.py; python3 -m pytest ./test/scripts/test_release_version.py; make testconfig diff --git a/tools/pickman/requirements.txt b/tools/pickman/requirements.txt new file mode 100644 index 00000000000..fb4a8c12692 --- /dev/null +++ b/tools/pickman/requirements.txt @@ -0,0 +1,4 @@ +# Requirements for pickman +# Install with: pip install -r tools/pickman/requirements.txt + +python-gitlab -- 2.43.0