]> code.ossystems Code Review - openembedded-core.git/commitdiff
valgrind: turn off the file level dependency
authorTudor Florea <tudor.florea@enea.com>
Thu, 21 Apr 2016 08:36:16 +0000 (10:36 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Apr 2016 15:28:39 +0000 (16:28 +0100)
Attempting to install ptest for valgrind fails with this error:

error: Can't install valgrind-ptest-3.11.0-r0.1@ppce500mc: no package
provides /this/is/a/bogus/interpreter/name

This is because one of the tests contains a bogus interpreter path on purpose
It is not enough to skip the QA warning about the missing dependency
but the dependency have to be completely removed.
Since this package contains oly tests it is safe to disable per file
dependencies and rely on the ones per package.

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/valgrind/valgrind_3.11.0.bb

index 51c88bf7aa082438fa9578e42830ce579622cacb..824050075aed1b3acfd3155ca0d65826af09e91a 100644 (file)
@@ -68,9 +68,9 @@ RRECOMMENDS_${PN} += "${TCLIBC}-dbg"
 RDEPENDS_${PN}-ptest += " sed perl perl-module-file-glob"
 RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils"
 
-# One of the tests contains a bogus interpreter path on purpose, and QA
-# check complains about it
-INSANE_SKIP_${PN}-ptest += "file-rdeps"
+# One of the tests contains a bogus interpreter path on purpose.
+# Skip file dependency check
+SKIP_FILEDEPS_${PN}-ptest = '1'
 
 do_compile_ptest() {
     oe_runmake check