]> code.ossystems Code Review - openembedded-core.git/commitdiff
ptest: Add RDEPENDS frpm PN-ptest to PN package
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 May 2019 11:22:14 +0000 (12:22 +0100)
committerArmin Kuster <akuster808@gmail.com>
Sun, 2 Jun 2019 04:26:05 +0000 (21:26 -0700)
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@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/ptest.bbclass

index 936bf82736e44824b47b3b2c04e648fcbe8bf756..fa4c36ec769824ac1cd89e9a2a71105c363c8a76 100644 (file)
@@ -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"