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/run-ptest | |
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/run-ptest')
-rwxr-xr-x[-rw-r--r--] | meta/recipes-core/libxml/libxml2/run-ptest | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/meta/recipes-core/libxml/libxml2/run-ptest b/meta/recipes-core/libxml/libxml2/run-ptest index c313d83263..d5c7bb5b02 100644..100755 --- a/meta/recipes-core/libxml/libxml2/run-ptest +++ b/meta/recipes-core/libxml/libxml2/run-ptest | |||
@@ -1,4 +1,20 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | set -e | ||
4 | |||
3 | export LC_ALL=en_US.UTF-8 | 5 | export LC_ALL=en_US.UTF-8 |
4 | make -k runtests | 6 | |
7 | # testModule isn't that useful and hard-codes buildtree, so we don't run that | ||
8 | TESTS="runtest testrecurse testchar testdict testThreads runxmlconf testapi" | ||
9 | |||
10 | for T in $TESTS; do | ||
11 | echo Running $T | ||
12 | ./$T && echo PASS: $T || echo FAIL: $T | ||
13 | done | ||
14 | |||
15 | if test -d python/tests; then | ||
16 | cd python/tests | ||
17 | for T in *.py; do | ||
18 | python3 ./$T && echo PASS: $T || echo FAIL: $T | ||
19 | done | ||
20 | fi | ||