]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/blob - meta/recipes-devtools/tcltk/tcl/run-ptest
tcl: improve run-ptest
[thirdparty/openembedded/openembedded-core.git] / meta / recipes-devtools / tcltk / tcl / run-ptest
1 #!/bin/sh
2
3 # clock.test needs a timezone to be set
4 export TZ="Europe/London"
5 export TCL_LIBRARY=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 # 14825
17 SKIP="$SKIP socket-\* socket_inet-\*"
18
19 for i in tests/*.test; do
20 i=$(basename $i)
21 ./tcltest tests/all.tcl -file $i -skip "$SKIP"
22 if [ $? -eq 0 ]; then
23 echo "PASS: $i"
24 else
25 echo "FAIL: $i"
26 fi
27 done