mirror of
https://git.yoctoproject.org/poky
synced 2026-09-25 07:36:23 +02:00
Modify the TCL_LIBRARY to the correct value to resolve the following errors caused by multilib:
application-specific initialization failed: Cannot find a usable init.tcl in the following directories:
/usr/lib/tcl/ptest/library {} /usr/lib64/tcl9.0 /usr/lib64/tcl/lib/tcl9.0 /usr/lib64/lib/tcl9.0 /usr/lib64/tcl/library /usr/lib64/library /usr/lib64/tcl9.0/library /usr/lib64/tcl9.0.0/library /usr/tcl9.0.0/library
(From OE-Core rev: 9ae194e7270b84876a51e21941cdd718e15f1e59)
Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
705 B
Bash
33 lines
705 B
Bash
#!/bin/sh
|
|
|
|
export TCL_LIBRARY=@libdir@/tcl/ptest/library
|
|
export ERROR_ON_FAILURES=1
|
|
export LANG=en-US.UTF-8
|
|
|
|
# Some tests are overly strict with timings and fail on loaded systems.
|
|
SKIP=""
|
|
# 15321
|
|
SKIP="$SKIP async-\* event-\*"
|
|
# 14882
|
|
SKIP="$SKIP cmdMZ-6.6"
|
|
# 15081
|
|
SKIP="$SKIP exit-1.\*"
|
|
# 15407 15421
|
|
SKIP="$SKIP \*io-46.1"
|
|
# io-13.6 explicitly says it can fail on slow/loaded machines
|
|
SKIP="$SKIP io-13.6"
|
|
# 14825
|
|
SKIP="$SKIP socket-\* socket_inet-\*"
|
|
# tries to access google.com
|
|
SKIP="$SKIP httpProxy-\*"
|
|
|
|
for i in tests/*.test; do
|
|
i=$(basename $i)
|
|
./tcltest tests/all.tcl -file $i -skip "$SKIP"
|
|
if [ $? -eq 0 ]; then
|
|
echo "PASS: $i"
|
|
else
|
|
echo "FAIL: $i"
|
|
fi
|
|
done
|