diff options
author | Ross Burton <ross.burton@arm.com> | 2022-12-07 16:57:55 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-08 10:50:30 +0000 |
commit | f4ffba353eb7877060c25d264fa10cd60f797f0b (patch) | |
tree | f7163587ea88974eb0b7ba7636f139ffbae0916f /meta/recipes-core/libxml/libxml2/install-tests.patch | |
parent | 85ec78cc24346f8e0d45ca947a2fecf17913b535 (diff) | |
download | poky-f4ffba353eb7877060c25d264fa10cd60f797f0b.tar.gz |
libxml2: upgrade 2.9.14 -> 2.10.3
Change ptest away from using the upstream Makefiles to manually running
the tests: they're not actually integrated with automake anyway so this
didn't gain us anything apart from patches we can't send upstream. Drops
the following patches:
- 0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch
- 0001-Port-gentest.py-to-Python-3.patch
- fix-execution-of-ptests.patch
- remove-fuzz-from-ptests.patch
- runtest.patch
Add a simple patch to install the test binaries via the Makefile:
- install-tests.patch
The Python module is built differently and a number of patches no longer
apply and appear to be redundant, remove:
- python-sitepackages-dir.patch
libxml-m4-use-pkgconfig.patch has been sent upstream now, mark as
backport.
Remove obsolete --without-docbook option.
Remove obsolete xml2Conf.sh packaging.
(From OE-Core rev: ec5f380a14246e31b2a1a12dda9fe2178b1e5f83)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/libxml/libxml2/install-tests.patch')
-rw-r--r-- | meta/recipes-core/libxml/libxml2/install-tests.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-core/libxml/libxml2/install-tests.patch b/meta/recipes-core/libxml/libxml2/install-tests.patch new file mode 100644 index 0000000000..b770afbeb4 --- /dev/null +++ b/meta/recipes-core/libxml/libxml2/install-tests.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | Add a target to install the test suite. | ||
2 | |||
3 | Upstream-Status: Inappropriate | ||
4 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
5 | |||
6 | From c7809dc6947324ea506a0c2bf132ecd37156f211 Mon Sep 17 00:00:00 2001 | ||
7 | From: Ross Burton <ross.burton@arm.com> | ||
8 | Date: Mon, 5 Dec 2022 17:02:32 +0000 | ||
9 | Subject: [PATCH] add yocto-specific install-ptest target | ||
10 | |||
11 | --- | ||
12 | Makefile.am | 10 ++++++++++ | ||
13 | 1 file changed, 10 insertions(+) | ||
14 | |||
15 | diff --git a/Makefile.am b/Makefile.am | ||
16 | index 316109b1..15e100be 100644 | ||
17 | --- a/Makefile.am | ||
18 | +++ b/Makefile.am | ||
19 | @@ -26,6 +26,16 @@ check_PROGRAMS = \ | ||
20 | testlimits \ | ||
21 | testrecurse | ||
22 | |||
23 | +ptestdir=$(libexecdir) | ||
24 | +install-test-data: $(check_PROGRAMS) | ||
25 | + install -d $(DESTDIR)$(ptestdir) $(DESTDIR)$(ptestdir)/python/ | ||
26 | + for T in $(check_PROGRAMS); do \ | ||
27 | + $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$T $(DESTDIR)$(ptestdir) ;\ | ||
28 | + done | ||
29 | + cp -r $(srcdir)/test $(DESTDIR)$(ptestdir) | ||
30 | + cp -r $(srcdir)/result $(DESTDIR)$(ptestdir) | ||
31 | + cp -r $(srcdir)/python/tests $(DESTDIR)$(ptestdir)/python | ||
32 | + | ||
33 | bin_PROGRAMS = xmllint xmlcatalog | ||
34 | |||
35 | nodist_bin_SCRIPTS = xml2-config | ||
36 | -- | ||
37 | 2.34.1 | ||
38 | |||