Patchwork ptest: Don't enable ptest for nativesdk and cross-canadian packages

login
register
mail settings
Submitter Tudor Florea
Date March 10, 2014, 11:51 a.m.
Message ID <1394452286-65337-1-git-send-email-tudor.florea@enea.com>
Download mbox | patch
Permalink /patch/68363/
State New
Headers show

Comments

Tudor Florea - March 10, 2014, 11:51 a.m.
The ptest is useful in context of deployment to the target hence
we don't need ptest for nativesdk and cross-canadian packages

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
---
 meta/classes/ptest.bbclass |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass
index c37dfac..5c5505d 100644
--- a/meta/classes/ptest.bbclass
+++ b/meta/classes/ptest.bbclass
@@ -8,6 +8,8 @@  SECTION_${PN}-ptest = "devel"
 ALLOW_EMPTY_${PN}-ptest = "1"
 PTEST_ENABLED = "${@base_contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}"
 PTEST_ENABLED_class-native = ""
+PTEST_ENABLED_class-nativesdk = ""
+PTEST_ENABLED_class-cross-canadian = ""
 RDEPENDS_${PN}-ptest_class-native = ""
 RDEPENDS_${PN}-ptest_class-nativesdk = ""