diff options
Diffstat (limited to 'meta/recipes-core/libxml/libxml2/run-ptest')
-rwxr-xr-x[-rw-r--r--] | meta/recipes-core/libxml/libxml2/run-ptest | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/meta/recipes-core/libxml/libxml2/run-ptest b/meta/recipes-core/libxml/libxml2/run-ptest index 473d0b67a7..f252a78f17 100644..100755 --- a/meta/recipes-core/libxml/libxml2/run-ptest +++ b/meta/recipes-core/libxml/libxml2/run-ptest @@ -1,3 +1,20 @@ #!/bin/sh -make -k runtests +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 runsuite 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 |