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: Marta Rybczynska marta.rybczynska@linaro.com
Merge request reports
Activity
requested review from @agherzan, @stefanschmidt, @lucafavaretto, and @esben
mentioned in issue #783
added 1 commit
- 7cb7808d - distro: remove ptest from DISTRO_FEATURES in production builds
7 7 SUMMARY = "Oniro Project Wayland image including the base OS \ 8 8 software stack and tests" 9 9 10 DISTRO_FEATURES:append = " ptest" 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.