ptest: Disable for native recipes

Submitted by Richard Purdie on Dec. 18, 2013, 5:12 p.m.

Details

Message ID 1387386775.6402.56.camel@ted
State Accepted
Commit 16dd4cd5564a19b0a221661205430e01c35673af
Headers show

Commit Message

Richard Purdie Dec. 18, 2013, 5:12 p.m.
We don't use or otherwise care about ptest for native recipes. Its therefore
pointless to take the performance hit for them and we can disable them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch hide | download patch | download mbox

diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass
index 06dddf7..0ffef95 100644
--- a/meta/classes/ptest.bbclass
+++ b/meta/classes/ptest.bbclass
@@ -7,6 +7,7 @@  FILES_${PN}-ptest = "${PTEST_PATH}"
 SECTION_${PN}-ptest = "devel"
 ALLOW_EMPTY_${PN}-ptest = "1"
 PTEST_ENABLED = "${@base_contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}"
+PTEST_ENABLED_class-native = ""
 RDEPENDS_${PN}-ptest_virtclass-native = ""
 RDEPENDS_${PN}-ptest_virtclass-nativesdk = ""