summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk/tcl/run-ptest
blob: a403a74bb64657f4e9e378ce3c99eccff6e3506a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/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"
# 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