[OE-core] [PATCH 3/7] liberror-perl: inherit ptest-perl
Tim Orling
timothy.t.orling at linux.intel.com
Sun Mar 4 12:41:51 UTC 2018
* Enable ptest by inheriting new ptest-perl.bbclass
Signed-off-by: Tim Orling <timothy.t.orling at linux.intel.com>
---
meta/recipes-devtools/perl/liberror-perl_0.17025.bb | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/perl/liberror-perl_0.17025.bb b/meta/recipes-devtools/perl/liberror-perl_0.17025.bb
index 251b13195a..f6dc30d077 100644
--- a/meta/recipes-devtools/perl/liberror-perl_0.17025.bb
+++ b/meta/recipes-devtools/perl/liberror-perl_0.17025.bb
@@ -18,11 +18,16 @@ SRC_URI[sha256sum] = "6c9f474ad3d4fe0cabff6b6be532cb1dd348245986d4a6b600ad921d5c
S = "${WORKDIR}/Error-${PV}"
-inherit cpan
+inherit cpan ptest-perl
do_compile() {
export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
cpan_do_compile
}
+do_install_prepend() {
+ # test requires "-T" (taint) command line option
+ rm -rf ${B}/t/pod-coverage.t
+}
+
BBCLASSEXTEND = "native"
--
2.14.3
More information about the Openembedded-core
mailing list