diff options
Diffstat (limited to 'meta/recipes-devtools/tcltk8/tcl8/run-ptest')
-rw-r--r-- | meta/recipes-devtools/tcltk8/tcl8/run-ptest | 31 |
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 | ||
4 | export TZ="Europe/London" | ||
5 | export TCL_LIBRARY=@libdir@/tcl8/ptest/library | ||
6 | export ERROR_ON_FAILURES=1 | ||
7 | |||
8 | # Some tests are overly strict with timings and fail on loaded systems. | ||
9 | SKIP="" | ||
10 | # 15321 | ||
11 | SKIP="$SKIP async-\* event-\*" | ||
12 | # 14882 | ||
13 | SKIP="$SKIP cmdMZ-6.6" | ||
14 | # 15081 | ||
15 | SKIP="$SKIP exit-1.\*" | ||
16 | # 15407 15421 | ||
17 | SKIP="$SKIP \*io-46.1" | ||
18 | # io-13.6 explicitly says it can fail on slow/loaded machines | ||
19 | SKIP="$SKIP io-13.6" | ||
20 | # 14825 | ||
21 | SKIP="$SKIP socket-\* socket_inet-\*" | ||
22 | |||
23 | for 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 | ||
31 | done | ||