summaryrefslogtreecommitdiffstats
path: root/meta/classes/ptest.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-04-23 14:42:42 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-27 14:34:59 (GMT)
commit87de892d682d15ba2cbbee6bfd63a4644e0f517a (patch)
treef9261d7008faed0fd7f4a44b4a068c9993798348 /meta/classes/ptest.bbclass
parent3ddd99d2c8575e5d7bab8aebc06dcf0e67da2856 (diff)
downloadpoky-87de892d682d15ba2cbbee6bfd63a4644e0f517a.tar.gz
ptest: add recommends to ptest-runner
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. (From OE-Core rev: a9eededcb33b2ee41a061298610126436dfc2c11) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/ptest.bbclass')
-rw-r--r--meta/classes/ptest.bbclass1
1 files changed, 1 insertions, 0 deletions
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 = ""
12PTEST_ENABLED_class-cross-canadian = "" 12PTEST_ENABLED_class-cross-canadian = ""
13RDEPENDS_${PN}-ptest_class-native = "" 13RDEPENDS_${PN}-ptest_class-native = ""
14RDEPENDS_${PN}-ptest_class-nativesdk = "" 14RDEPENDS_${PN}-ptest_class-nativesdk = ""
15RRECOMMENDS_${PN}-ptest += "ptest-runner"
15 16
16PACKAGES =+ "${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)}" 17PACKAGES =+ "${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)}"
17 18