Files
OpenBMC/poky/meta/recipes-core/libxml/libxml2/run-ptest
T
2026-04-23 17:07:55 +08:00

21 lines
439 B
Bash
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 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