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 | 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..f252a78f17 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 runsuite 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 | ||