mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
85b3207a34
commit
d0256e5470
@@ -20,11 +20,19 @@ S = "${WORKDIR}/URI-${PV}"
|
||||
|
||||
EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
|
||||
|
||||
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() {
|
||||
# these tests require "-T" (taint) command line option
|
||||
rm -rf ${B}/t/cwd.t
|
||||
rm -rf ${B}/t/file.t
|
||||
}
|
||||
|
||||
RDEPENDS_${PN}-ptest += "libtest-needs-perl"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
Reference in New Issue
Block a user