The sed-ptest package has runtime dependencies which are used only
when running the tests. So the 'build-dep' QA check can be skipped for
this specific package. Fixes the following QA error:

,----
| WARNING: QA Issue: sed-ptest rdepends on locale-base-ru-ru, but it
|     isn't a build dependency? [build-deps]
`----

Signed-off-by: Otavio Salvador <ota...@ossystems.com.br>
---
 meta/recipes-extended/sed/sed_4.2.2.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-extended/sed/sed_4.2.2.bb 
b/meta/recipes-extended/sed/sed_4.2.2.bb
index ea39dae..0139b18 100644
--- a/meta/recipes-extended/sed/sed_4.2.2.bb
+++ b/meta/recipes-extended/sed/sed_4.2.2.bb
@@ -14,7 +14,6 @@ SRC_URI[md5sum] = "4111de4faa3b9848a0686b2f260c5056"
 SRC_URI[sha256sum] = 
"fea0a94d4b605894f3e2d5572e3f96e4413bcad3a085aae7367c2cf07908b2ff"
 
 inherit autotools texinfo update-alternatives gettext ptest
-RDEPENDS_${PN}-ptest += "make locale-base-ru-ru ${PN}"
 
 EXTRA_OECONF = "--disable-acl \
                 ${@bb.utils.contains('PTEST_ENABLED', '1', 
'--enable-regex-tests', '', d)}"
@@ -40,4 +39,7 @@ do_install_ptest() {
        oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} 
DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR}
 }
 
+RDEPENDS_${PN}-ptest += "make locale-base-ru-ru ${PN}"
+INSANE_SKIP_${PN}-ptest += "build-deps"
+
 BBCLASSEXTEND = "native"
-- 
2.1.3

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to