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 | 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 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" | |||
13 | DEPENDS_class-native = "python-native" | 13 | DEPENDS_class-native = "python-native" |
14 | DEPENDS =+ "zlib" | 14 | DEPENDS =+ "zlib" |
15 | 15 | ||
16 | SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \ | 16 | SRC_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 | ||
23 | inherit autotools pkgconfig binconfig pythonnative ptest | ||
20 | 24 | ||
21 | inherit autotools pkgconfig binconfig pythonnative | 25 | RDEPENDS_${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 |
24 | do_configure_prepend () { | 28 | do_configure_prepend () { |
@@ -49,4 +53,8 @@ PACKAGES += "${PN}-utils" | |||
49 | FILES_${PN}-dev += "${libdir}/xml2Conf.sh" | 53 | FILES_${PN}-dev += "${libdir}/xml2Conf.sh" |
50 | FILES_${PN}-utils += "${bindir}/*" | 54 | FILES_${PN}-utils += "${bindir}/*" |
51 | 55 | ||
56 | do_install_ptest () { | ||
57 | cp -r ${WORKDIR}/xmlconf ${D}${PTEST_PATH} | ||
58 | } | ||
59 | |||
52 | BBCLASSEXTEND = "native nativesdk" | 60 | BBCLASSEXTEND = "native nativesdk" |