Skip to content
Snippets Groups Projects
Commit 7cb7808d authored by Marta Rybczynska's avatar Marta Rybczynska
Browse files

distro: remove ptest from DISTRO_FEATURES in production builds


Test and debug images use ptest for runtime testing. However, it is not
used in production builds, and should not be. They add to the build time.

From our results, a build of oniro-image-base with ptest takes 160min,
while without it is only 110 min.

oniro-image-extra-test was the only test image that wasn't adding this
DISTRO_FEATURE explicitly.

Signed-off-by: default avatarMarta Rybczynska <marta.rybczynska@linaro.org>
parent 255af99d
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ DISTRO_VERSION[vardepsexclude] = "DATE"
SDK_VERSION[vardepsexclude] = "DATE"
# Override these in oniro based distros
ONIRO_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch pam rauc security tpm tpm2 wayland vulkan virtualization"
ONIRO_DEFAULT_DISTRO_FEATURES = "largefile opengl multiarch pam rauc security tpm tpm2 wayland vulkan virtualization"
ONIRO_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
ONIRO_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
......
......@@ -7,6 +7,8 @@ require recipes-core/images/oniro-image-extra.bb
SUMMARY = "Oniro Project Wayland image including the base OS \
software stack and tests"
DISTRO_FEATURES:append = " ptest"
IMAGE_INSTALL:append = "\
packagegroup-oniro-tests \
"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment