summaryrefslogtreecommitdiffstats
path: root/meta/classes/ptest.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-14 11:22:14 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-15 16:53:29 (GMT)
commitbe2cb32f53fbc8ed06890ab252b3515da59485cf (patch)
treed87cf6ca552c2f315af8c15af3fbf37bcef9e37d /meta/classes/ptest.bbclass
parenta2084a074930505d29a2e13d71275afe0aa21051 (diff)
downloadpoky-be2cb32f53fbc8ed06890ab252b3515da59485cf.tar.gz
ptest: Add RDEPENDS frpm PN-ptest to PN package
Many different ptests are breaking as they assume that ${PN}-ptest depends on ${PN}. It doesn't currently but should. If we fix this, many different ptests start passing when they previously failed. It does depend on fixing an issue in the dbus-test recipe which is done in the preceeding patch (mentioned in case this gets backported). (From OE-Core rev: b47194b57d94260b4e6438c5bf74914027f0b520) 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 936bf82..fa4c36e 100644
--- a/meta/classes/ptest.bbclass
+++ b/meta/classes/ptest.bbclass
@@ -13,6 +13,7 @@ PTEST_ENABLED = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}"
13PTEST_ENABLED_class-native = "" 13PTEST_ENABLED_class-native = ""
14PTEST_ENABLED_class-nativesdk = "" 14PTEST_ENABLED_class-nativesdk = ""
15PTEST_ENABLED_class-cross-canadian = "" 15PTEST_ENABLED_class-cross-canadian = ""
16RDEPENDS_${PN}-ptest += "${PN}"
16RDEPENDS_${PN}-ptest_class-native = "" 17RDEPENDS_${PN}-ptest_class-native = ""
17RDEPENDS_${PN}-ptest_class-nativesdk = "" 18RDEPENDS_${PN}-ptest_class-nativesdk = ""
18RRECOMMENDS_${PN}-ptest += "ptest-runner" 19RRECOMMENDS_${PN}-ptest += "ptest-runner"