Files
poky/meta/recipes-devtools/tcltk/tcl/run-ptest
Alexander Kanavin b33b064b48 tcl: update 8.6.15 -> 9.0.0
Make adjustments needed for ptests: among others,
the binary.test needs 4G of RAM.

Apply all patches unconditionally for ease of future upgrades.

(From OE-Core rev: 372cfdd3f9355081942514c7db44119fa55ff58e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-12 11:19:44 +00:00

33 lines
705 B
Bash

#!/bin/sh
export TCL_LIBRARY=/usr/lib/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