Files
poky/meta/recipes-core/libxml/libxml2/run-ptest
Ross Burton f4ffba353e 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>
2022-12-08 10:50:30 +00:00

430 B
Executable File

#!/bin/sh

set -e

export LC_ALL=en_US.UTF-8

testModule isn't that useful and hard-codes buildtree, so we don't run that

TESTS="runtest testrecurse testchar testdict testThreads runxmlconf testapi"

for T in $TESTS; do echo Running $T ./$T && echo PASS: $T || echo FAIL: $T done

if test -d python/tests; then cd python/tests for T in *.py; do python3 ./$T && echo PASS: $T || echo FAIL: $T done fi