]> code.ossystems Code Review - openembedded-core.git/commitdiff
ptest: Disable for native recipes
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Dec 2013 17:12:55 +0000 (17:12 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Dec 2013 12:25:21 +0000 (12:25 +0000)
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.

(From OE-Core rev: f3d35bb4719d0b8f8e6fc5976e9dbfc0e2019c2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/ptest.bbclass

index 98c913922dd19beb22ad00b8f4578393a4950356..ec10f80e68f0d36ff4744528c2de4af4e94373d8 100644 (file)
@@ -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 = ""