summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-04-23 15:42:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-27 15:26:15 +0100
commita9eededcb33b2ee41a061298610126436dfc2c11 (patch)
tree29b3815b58610e4c13baac2f005a225120c7f2c1
parent92b58e1c789ee412d936285144e8e549c99ff979 (diff)
downloadopenembedded-core-contrib-a9eededcb33b2ee41a061298610126436dfc2c11.tar.gz
openembedded-core-contrib-a9eededcb33b2ee41a061298610126436dfc2c11.tar.bz2
openembedded-core-contrib-a9eededcb33b2ee41a061298610126436dfc2c11.zip
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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 4e6f075efe..101ab9df4a 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)}"