Skip to content

Commit 7ea1046

Browse files
committed
ci/ci: enable ptest-pkgs image features
Adding "ptest-pkgs" to IMAGE_FEATURES causes all -ptest packages to be additionally installed. To exercise the installed unit testing, we simply run ptest-runner. Ptests won't work with sota, and it is even removed from distro features. So it doesn't make sense to enable it in this case. Here are the results for `ci/qcom-armv8a.yml:ci/qcom-distro.yml` Before this PR: ``` 31G build/tmp/deploy/images/qcom-armv8a 1.6G qcom-container-orchestration-image-qcom-armv8a.rootfs.ext4.gz 0.7G qcom-multimedia-image-qcom-armv8a.rootfs.ext4.gz 1.4G qcom-multimedia-proprietary-image-qcom-armv8a.rootfs.ext4.gz ``` After this PR: ``` 48G build/tmp/deploy/images/qcom-armv8a 2.4G qcom-container-orchestration-image-qcom-armv8a.rootfs.ext4.gz 1.5G qcom-multimedia-image-qcom-armv8a.rootfs.ext4.gz 2.1G qcom-multimedia-proprietary-image-qcom-armv8a.rootfs.ext4.gz ``` Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
1 parent 75c04e1 commit 7ea1046

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ci/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@ header:
88
local_conf_header:
99
ci: |
1010
BB_SIGNATURE_HANDLER = "OEBasicHash"
11+
EXTRA_IMAGE_FEATURES += "ptest-pkgs"
12+
EXTRA_IMAGE_FEATURES:remove:sota = "ptest-pkgs"
1113
FIRMWARE_COMPRESSION:qcom-armv8a = "zst"
1214
INHERIT:remove = "rm_work"

0 commit comments

Comments
 (0)