summaryrefslogtreecommitdiffstats
path: root/meta/classes/ptest.bbclass
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-03-10 11:51:26 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-11 07:59:30 -0700
commitc0c96df9f6d571b6d1e26013822375942003e3b9 (patch)
treefb0ce5b8ad3e6dd106de74614e168d822cf942ed /meta/classes/ptest.bbclass
parent6235cc3ccf98dce15ffe3313cf4e6cdf9c922bce (diff)
downloadopenembedded-core-contrib-c0c96df9f6d571b6d1e26013822375942003e3b9.tar.gz
ptest: Don't enable ptest for nativesdk and cross-canadian packages
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> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/ptest.bbclass')
-rw-r--r--meta/classes/ptest.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass
index c37dfaca3dc..5c5505d9b24 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 = ""