diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-14 12:22:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-07 13:57:48 +0100 |
commit | 22d792c93e3ff01bf248dd8ce43e99ae5c7035f0 (patch) | |
tree | 40d4dac63e4386daf37ae02238d04bc30241c53f /meta/classes | |
parent | 15049398f61df82d1476a781671105d738c7dcba (diff) | |
download | poky-22d792c93e3ff01bf248dd8ce43e99ae5c7035f0.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: 1ad805984c8c9c9a505b6b0e8ad870b8233b13b2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/ptest.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass index 936bf82736..fa4c36ec76 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)}" | |||
13 | PTEST_ENABLED_class-native = "" | 13 | PTEST_ENABLED_class-native = "" |
14 | PTEST_ENABLED_class-nativesdk = "" | 14 | PTEST_ENABLED_class-nativesdk = "" |
15 | PTEST_ENABLED_class-cross-canadian = "" | 15 | PTEST_ENABLED_class-cross-canadian = "" |
16 | RDEPENDS_${PN}-ptest += "${PN}" | ||
16 | RDEPENDS_${PN}-ptest_class-native = "" | 17 | RDEPENDS_${PN}-ptest_class-native = "" |
17 | RDEPENDS_${PN}-ptest_class-nativesdk = "" | 18 | RDEPENDS_${PN}-ptest_class-nativesdk = "" |
18 | RRECOMMENDS_${PN}-ptest += "ptest-runner" | 19 | RRECOMMENDS_${PN}-ptest += "ptest-runner" |