[oe-commits] [openembedded-core] 21/35: ptest: Add RDEPENDS frpm PN-ptest to PN package

git at git.openembedded.org git at git.openembedded.org
Fri Jun 7 12:58:30 UTC 2019

This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch warrior
in repository openembedded-core.

commit 1ad805984c8c9c9a505b6b0e8ad870b8233b13b2
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue May 14 12:22:14 2019 +0100

    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).
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
 meta/classes/ptest.bbclass | 1 +
 1 file changed, 1 insertion(+)

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)}"
 PTEST_ENABLED_class-native = ""
 PTEST_ENABLED_class-nativesdk = ""
 PTEST_ENABLED_class-cross-canadian = ""
+RDEPENDS_${PN}-ptest += "${PN}"
 RDEPENDS_${PN}-ptest_class-native = ""
 RDEPENDS_${PN}-ptest_class-nativesdk = ""
 RRECOMMENDS_${PN}-ptest += "ptest-runner"

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Openembedded-commits mailing list