Files
poky/meta/recipes-devtools/tcltk8/tcl8/run-ptest
Alexander Kanavin f7a3dd46ab tcl8: upgrade 8.6.15 -> 8.6.16
Adjust run-ptest to use the absolute ptest library location
(tcl 9.x already does this) to avoid clock.test failures.

(From OE-Core rev: 6161afaa3d4f6600a3598bf559576fb571968cbb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 11:10:00 +00:00

32 lines
693 B
Bash

#!/bin/sh
# clock.test needs a timezone to be set
export TZ="Europe/London"
export TCL_LIBRARY=@libdir@/tcl8/ptest/library
export ERROR_ON_FAILURES=1
# 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-\*"
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