diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2018-03-04 04:41:51 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-06 06:19:18 -0800 |
commit | 85b3207a3472984bac7006c5c2641af5f1da173f (patch) | |
tree | 14dd3defb4da0ced5dd8f1f66f27ba30a3671733 | |
parent | 8a0727360debf6c8b57a9ed3f8083d3fb752e132 (diff) | |
download | poky-85b3207a3472984bac7006c5c2641af5f1da173f.tar.gz |
liberror-perl: inherit ptest-perl
* Enable ptest by inheriting new ptest-perl.bbclass
(From OE-Core rev: f9398daec484c031c37c22f6c67c19c31716c218)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/perl/liberror-perl_0.17025.bb | 7 |
1 files changed, 6 insertions, 1 deletions
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 | |||
18 | 18 | ||
19 | S = "${WORKDIR}/Error-${PV}" | 19 | S = "${WORKDIR}/Error-${PV}" |
20 | 20 | ||
21 | inherit cpan | 21 | inherit cpan ptest-perl |
22 | 22 | ||
23 | do_compile() { | 23 | do_compile() { |
24 | export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" | 24 | export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" |
25 | cpan_do_compile | 25 | cpan_do_compile |
26 | } | 26 | } |
27 | 27 | ||
28 | do_install_prepend() { | ||
29 | # test requires "-T" (taint) command line option | ||
30 | rm -rf ${B}/t/pod-coverage.t | ||
31 | } | ||
32 | |||
28 | BBCLASSEXTEND = "native" | 33 | BBCLASSEXTEND = "native" |