diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2018-03-04 04:41:52 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-06 06:19:18 -0800 |
commit | d0256e547083146e6021acbb3e818ccf51ed2ce1 (patch) | |
tree | 84ad08a1303345a0bef40cdfd8aeea6e19d98e4e /meta/recipes-devtools/perl | |
parent | 85b3207a3472984bac7006c5c2641af5f1da173f (diff) | |
download | poky-d0256e547083146e6021acbb3e818ccf51ed2ce1.tar.gz |
liburi-perl: inherit ptest-perl
* Enable ptest by inheriting new ptest-perl.bbclass
* Remove t/cwd.t and t/file.t which require "-T"
(taint) command line option as they will fail.
(From OE-Core rev: e88c7fc244c6abe3148f60c8988234342c351dfb)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r-- | meta/recipes-devtools/perl/liburi-perl_1.73.bb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/liburi-perl_1.73.bb b/meta/recipes-devtools/perl/liburi-perl_1.73.bb index 7cdf6dc61d..49238f3df5 100644 --- a/meta/recipes-devtools/perl/liburi-perl_1.73.bb +++ b/meta/recipes-devtools/perl/liburi-perl_1.73.bb | |||
@@ -20,11 +20,19 @@ S = "${WORKDIR}/URI-${PV}" | |||
20 | 20 | ||
21 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" | 21 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" |
22 | 22 | ||
23 | inherit cpan | 23 | inherit cpan ptest-perl |
24 | 24 | ||
25 | do_compile() { | 25 | do_compile() { |
26 | export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" | 26 | export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" |
27 | cpan_do_compile | 27 | cpan_do_compile |
28 | } | 28 | } |
29 | 29 | ||
30 | do_install_prepend() { | ||
31 | # these tests require "-T" (taint) command line option | ||
32 | rm -rf ${B}/t/cwd.t | ||
33 | rm -rf ${B}/t/file.t | ||
34 | } | ||
35 | |||
36 | RDEPENDS_${PN}-ptest += "libtest-needs-perl" | ||
37 | |||
30 | BBCLASSEXTEND = "native" | 38 | BBCLASSEXTEND = "native" |