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

Submitted by Tudor Florea on March 10, 2014, 11:51 a.m.

Details

Message ID 1394452286-65337-1-git-send-email-tudor.florea@enea.com
State Accepted
Commit c0c96df9f6d571b6d1e26013822375942003e3b9
Headers show

Commit Message

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 hide | download patch | download mbox

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 = ""