Files
poky/meta/recipes-devtools/tcltk/tcl/run-ptest
Ross Burton f4d2e59433 tcl: skip io-13.6 test case
---- Result was:
{abcdefghj
01234} 0
---- Result should have been (exact matching):
{abcdefghj
} 1 01234 0
==== io-13.6 FAILED

This test is documented as failing on slow machines, so just skip it.

[ YOCTO #15407 ]

(From OE-Core rev: 2a44845ab1ca7d10e64d09fd5feb5becfc16aabe)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f69183586655294c9aed6687cebe57767c2f3eb8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00

673 B

#!/bin/sh

clock.test needs a timezone to be set

export TZ="Europe/London" export TCL_LIBRARY=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