Files
poky/meta/recipes-devtools/tcltk8/tcl8/run-ptest
Yi Zhao abd46facfa tcl8: upgrade 8.6.16 -> 8.6.17
ChangeLog:
  2024-12-16 (bug) [63449c] [namespace children] doesn't match non-glob
             patterns below the global namespace
  2025-01-06 (bug) [fc3509] Better error-message than "interpreter uses
             an incompatible stubs mechanism"
  2025-01-19 tzdata updated to Olson's tzdata2025a
  2025-01-28 (bug) [4f0b57] Win: [exec] now works on App Execution
             Aliases.
  2025-01-28 (bug) [4e2c8b] Win: [auto_execok] handles larger set of
             shell commands.
  2025-03-06 (bug) [ba68d1] errorline from [interp eval], interp-26.9
  2025-03-23 tzdata updated to Olson's tzdata2025b
  2025-04-11 (bug) [fd8341] Tcl_InitStubs compatibility for 9.1, better
             error-handling
  2025-05-05 (bug) [42d14c] Fix scan with long mantissa. Ex.: scan
             "1.[string repeat 1 191]e-321" %g
  2025-06-18 (bug) [4f338b] add missing Tcl_CloseEx docs
  2025-06-24 (bug) [ecf35c] Correct nested handling of return option
             -options
  2025-06-25 (bug) [ecafd8] Euro/Tail-sign missing from cp864 encoding
  2025-07-03 (bug) [6b0f77] gcc 14 breaks configure test for bigendian
             leading to broken floating point
  2025-07-16 (bug) [c9f052] prevent overflow crash in Tcl_SplitList().
  2025-07-21 (bug) [61c01e] Flawed ref counts in filesystem
             implementation for Windows led to use-after-free
  2025-08-12 (new) dde => 1.4.5
  2025-08-12 (bug) [992f94] avoid misaligned pointers in macOS file
             attribute functions

Set LC_ALL and LANG to en_US.UTF-8 when running ptest since the test
cases now include more encodings than just ASCII[1].
Also, add rdepends on locale-base-en-us and tzdata for ptest package,
as they are required for running ptest.

[1] aca3422d8b

(From OE-Core rev: 77cfa81c065cbdd31db1245379d7b9ec1dc224ae)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00

886 B

#!/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 export LC_ALL=en_US.UTF-8 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-*"

These tests seem to be unreliable:

https://core.tcl-lang.org/tcl/tktview/3764f4e81f1483ab554c6d60f8483887bde28221

SKIP="$SKIP http11-*"

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