mirror of
git://git.yoctoproject.org/poky
synced 2026-05-18 23:44:18 +00:00
Backport more test cases fixes from upstream, and add runsuite to the ptests. (From OE-Core rev: a6de5fa28fc90e0184d3d86822d06de5d93bbc44) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 lines
439 B
Bash
Executable File
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
|