summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-12-07 22:31:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-13 11:34:27 +0000
commit1d19f6c52739f7db92243a32d0e94f9d30eeb354 (patch)
tree342552e13a9236861401d254c3d4ac65a8992344 /meta/recipes-devtools
parent01e8455768297d8902ddd54f61fc7b96b628c028 (diff)
downloadpoky-1d19f6c52739f7db92243a32d0e94f9d30eeb354.tar.gz
tcl: skip timing-dependent tests in run-ptest
There are several tests in the test suite which are very dependent on timing and fail on a loaded host system, so skip them. [ YOCTO #14825 #14882 #15081 ] (From OE-Core rev: 68beb4f4b5a0bea5d431decddf7656f18ac7a04a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/tcltk/tcl/run-ptest6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl/run-ptest b/meta/recipes-devtools/tcltk/tcl/run-ptest
index 5b9127784e..51e1e4aa7b 100644
--- a/meta/recipes-devtools/tcltk/tcl/run-ptest
+++ b/meta/recipes-devtools/tcltk/tcl/run-ptest
@@ -3,7 +3,11 @@
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
6SKIPPED_TESTS= 6
7# Some tests are overly strict with timings and fail on loaded systems.
8# See bugs #14825 #14882 #15081.
9SKIPPED_TESTS='cmdMZ-6.6 exit-1.* socket-* socket_inet-*'
10
7for i in `ls tests/*.test | awk -F/ '{print $2}'`; do 11for i in `ls tests/*.test | awk -F/ '{print $2}'`; do
8 ./tcltest tests/all.tcl -file $i -skip "$SKIPPED_TESTS" >$i.log 2>&1 12 ./tcltest tests/all.tcl -file $i -skip "$SKIPPED_TESTS" >$i.log 2>&1
9 grep -q -F -e "Files with failing tests:" -e "Test files exiting with errors:" $i.log 13 grep -q -F -e "Files with failing tests:" -e "Test files exiting with errors:" $i.log