public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] sed: Skip 'build-deps' QA check for sed-ptest package
@ 2014-12-26 16:10 Otavio Salvador
  2014-12-31 19:16 ` Otavio Salvador
  0 siblings, 1 reply; 6+ messages in thread
From: Otavio Salvador @ 2014-12-26 16:10 UTC (permalink / raw)
  To: OpenEmbedded Core Mailing List; +Cc: Otavio Salvador

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 <otavio@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



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-01-04 18:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-26 16:10 [PATCH] sed: Skip 'build-deps' QA check for sed-ptest package Otavio Salvador
2014-12-31 19:16 ` Otavio Salvador
2015-01-04  2:03   ` ChenQi
2015-01-04  4:31     ` Otavio Salvador
2015-01-04  5:39       ` ChenQi
2015-01-04 18:52         ` Otavio Salvador

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox