summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk8/tcl8/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/tcltk8/tcl8/run-ptest')
-rw-r--r--meta/recipes-devtools/tcltk8/tcl8/run-ptest31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/tcltk8/tcl8/run-ptest b/meta/recipes-devtools/tcltk8/tcl8/run-ptest
new file mode 100644
index 0000000000..bea9d9ccfd
--- /dev/null
+++ b/meta/recipes-devtools/tcltk8/tcl8/run-ptest
@@ -0,0 +1,31 @@
1#!/bin/sh
2
3# clock.test needs a timezone to be set
4export TZ="Europe/London"
5export TCL_LIBRARY=@libdir@/tcl8/ptest/library
6export ERROR_ON_FAILURES=1
7
8# Some tests are overly strict with timings and fail on loaded systems.
9SKIP=""
10# 15321
11SKIP="$SKIP async-\* event-\*"
12# 14882
13SKIP="$SKIP cmdMZ-6.6"
14# 15081
15SKIP="$SKIP exit-1.\*"
16# 15407 15421
17SKIP="$SKIP \*io-46.1"
18# io-13.6 explicitly says it can fail on slow/loaded machines
19SKIP="$SKIP io-13.6"
20# 14825
21SKIP="$SKIP socket-\* socket_inet-\*"
22
23for i in tests/*.test; do
24 i=$(basename $i)
25 ./tcltest tests/all.tcl -file $i -skip "$SKIP"
26 if [ $? -eq 0 ]; then
27 echo "PASS: $i"
28 else
29 echo "FAIL: $i"
30 fi
31done