summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/libxml/libxml2.inc
diff options
context:
space:
mode:
authorMihaela Sendrea <mihaela.sendrea@enea.com>2013-07-04 16:23:43 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-10 09:42:01 +0100
commit4b0ab26071909713e7b21ac4a544e6641139f8cd (patch)
tree323f71ed7e48dee15f288ed8bb625401fc545241 /meta/recipes-core/libxml/libxml2.inc
parentd8cba3391230f546e2830aebe1dabafbb789aa36 (diff)
downloadpoky-4b0ab26071909713e7b21ac4a544e6641139f8cd.tar.gz
libxml2: Add ptest
Install libxml2 test suite and run it as ptest. (From OE-Core rev: 22cf4cc85fbe21a53ca4684b0b06b9af20b2ecc5) Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/libxml/libxml2.inc')
-rw-r--r--meta/recipes-core/libxml/libxml2.inc14
1 files changed, 11 insertions, 3 deletions
diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc
index 9b2af0ff8a..7fb2644416 100644
--- a/meta/recipes-core/libxml/libxml2.inc
+++ b/meta/recipes-core/libxml/libxml2.inc
@@ -13,12 +13,16 @@ DEPENDS_class-nativesdk = "nativesdk-python"
13DEPENDS_class-native = "python-native" 13DEPENDS_class-native = "python-native"
14DEPENDS =+ "zlib" 14DEPENDS =+ "zlib"
15 15
16SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \ 16SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz;name=libtar \
17 file://libxml-64bit.patch \ 17 file://libxml-64bit.patch \
18 file://ansidecl.patch" 18 file://ansidecl.patch \
19 file://runtest.patch \
20 file://run-ptest \
21 "
19 22
23inherit autotools pkgconfig binconfig pythonnative ptest
20 24
21inherit autotools pkgconfig binconfig pythonnative 25RDEPENDS_${PN}-ptest_append_libc-glibc += "eglibc-gconv-ebcdic-us eglibc-gconv-ibm1141"
22 26
23# We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header 27# We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header
24do_configure_prepend () { 28do_configure_prepend () {
@@ -49,4 +53,8 @@ PACKAGES += "${PN}-utils"
49FILES_${PN}-dev += "${libdir}/xml2Conf.sh" 53FILES_${PN}-dev += "${libdir}/xml2Conf.sh"
50FILES_${PN}-utils += "${bindir}/*" 54FILES_${PN}-utils += "${bindir}/*"
51 55
56do_install_ptest () {
57 cp -r ${WORKDIR}/xmlconf ${D}${PTEST_PATH}
58}
59
52BBCLASSEXTEND = "native nativesdk" 60BBCLASSEXTEND = "native nativesdk"