diff options
author | Mihaela Sendrea <mihaela.sendrea@enea.com> | 2013-07-04 16:23:43 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-10 09:42:01 +0100 |
commit | 4b0ab26071909713e7b21ac4a544e6641139f8cd (patch) | |
tree | 323f71ed7e48dee15f288ed8bb625401fc545241 /meta/recipes-core/libxml/libxml2.inc | |
parent | d8cba3391230f546e2830aebe1dabafbb789aa36 (diff) | |
download | ast2050-yocto-poky-4b0ab26071909713e7b21ac4a544e6641139f8cd.zip ast2050-yocto-poky-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.inc | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc index 9b2af0f..7fb2644 100644 --- a/meta/recipes-core/libxml/libxml2.inc +++ b/meta/recipes-core/libxml/libxml2.inc @@ -13,12 +13,16 @@ DEPENDS_class-nativesdk = "nativesdk-python" DEPENDS_class-native = "python-native" DEPENDS =+ "zlib" -SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \ +SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz;name=libtar \ file://libxml-64bit.patch \ - file://ansidecl.patch" + file://ansidecl.patch \ + file://runtest.patch \ + file://run-ptest \ + " +inherit autotools pkgconfig binconfig pythonnative ptest -inherit autotools pkgconfig binconfig pythonnative +RDEPENDS_${PN}-ptest_append_libc-glibc += "eglibc-gconv-ebcdic-us eglibc-gconv-ibm1141" # We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header do_configure_prepend () { @@ -49,4 +53,8 @@ PACKAGES += "${PN}-utils" FILES_${PN}-dev += "${libdir}/xml2Conf.sh" FILES_${PN}-utils += "${bindir}/*" +do_install_ptest () { + cp -r ${WORKDIR}/xmlconf ${D}${PTEST_PATH} +} + BBCLASSEXTEND = "native nativesdk" |