[OE-core] [PATCH] ptest: add recommends to ptest-runner
Ross Burton
ross.burton at intel.com
Thu Apr 23 14:42:42 UTC 2015
If you're installing ptest packages into an image there's a good chance
you want to run the tests. Assist with this by recommending
ptest-runner in the -ptest packages.
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/classes/ptest.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass
index 4e6f075..101ab9d 100644
--- a/meta/classes/ptest.bbclass
+++ b/meta/classes/ptest.bbclass
@@ -12,6 +12,7 @@ PTEST_ENABLED_class-nativesdk = ""
PTEST_ENABLED_class-cross-canadian = ""
RDEPENDS_${PN}-ptest_class-native = ""
RDEPENDS_${PN}-ptest_class-nativesdk = ""
+RRECOMMENDS_${PN}-ptest += "ptest-runner"
PACKAGES =+ "${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)}"
--
1.7.10.4
More information about the Openembedded-core
mailing list