Skip to content
Snippets Groups Projects

distro: remove ptest from DISTRO_FEATURES in production builds

Open Marta Rybczynska requested to merge mrybczyn/oniro:fix/remove-ptest into kirkstone
1 unresolved thread

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: Marta Rybczynska marta.rybczynska@linaro.com

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
7 7 SUMMARY = "Oniro Project Wayland image including the base OS \
8 8 software stack and tests"
9 9
10 DISTRO_FEATURES:append = " ptest"
  • DISTRO_FEATURES can/should not be modified in recipe context. They are by definition expected to be shared between multiple recipes.

  • That was my vote too but there was a strong push from @mrybczyn at that point to workaround this at that point. I guess it is not an emergency anymore and I do agree we shouldn't do that as a general approach. I think the argument was that we already do that in some of our images so we should cleanup things first.

  • Please register or sign in to reply
Please register or sign in to reply
Loading