summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/tcltk/tcl/run-ptest24
1 files changed, 15 insertions, 9 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl/run-ptest b/meta/recipes-devtools/tcltk/tcl/run-ptest
index 87e025fce1..affce9ab81 100644
--- a/meta/recipes-devtools/tcltk/tcl/run-ptest
+++ b/meta/recipes-devtools/tcltk/tcl/run-ptest
@@ -3,19 +3,25 @@
3# clock.test needs a timezone to be set 3# clock.test needs a timezone to be set
4export TZ="Europe/London" 4export TZ="Europe/London"
5export TCL_LIBRARY=library 5export TCL_LIBRARY=library
6export ERROR_ON_FAILURES=1
6 7
7# Some tests are overly strict with timings and fail on loaded systems. 8# Some tests are overly strict with timings and fail on loaded systems.
8# See bugs #14825 #14882 #15081 #15321. 9SKIP=""
9SKIPPED_TESTS='async-* cmdMZ-6.6 event-* exit-1.* socket-* socket_inet-*' 10# 15321
11SKIP="$SKIP async-\* event-\*"
12# 14882
13SKIP="$SKIP cmdMZ-6.6"
14# 15081
15SKIP="$SKIP exit-1.\*"
16# 14825
17SKIP="$SKIP socket-\* socket_inet-\*"
10 18
11for i in `ls tests/*.test | awk -F/ '{print $2}'`; do 19for i in tests/*.test; do
12 ./tcltest tests/all.tcl -file $i -skip "$SKIPPED_TESTS" >$i.log 2>&1 20 i=$(basename $i)
13 grep -q -F -e "Files with failing tests:" -e "Test files exiting with errors:" $i.log 21 ./tcltest tests/all.tcl -file $i -skip "$SKIP"
14 if [ $? -eq 0 ]; then 22 if [ $? -eq 0 ]; then
15 echo "FAIL: $i"
16 cat $i.log
17 else
18 echo "PASS: $i" 23 echo "PASS: $i"
24 else
25 echo "FAIL: $i"
19 fi 26 fi
20 rm -f $i.log
21done 27done