summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2021-07-12 14:20:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-13 14:27:53 +0100
commit3a4da0d8f72d77701c6f522b1d4afc85caa13f63 (patch)
tree0b24111d21cc087f68a94f56f71ee4008406e6b0 /meta/recipes-devtools/tcltk
parente15e97bdcf78743d4befce181c7b4a365e7b2c04 (diff)
downloadpoky-3a4da0d8f72d77701c6f522b1d4afc85caa13f63.tar.gz
tcl: clock.test needs a timezone to be set
(From OE-Core rev: 2ee179c78d8904da5c1a28855e3bc4a01a4c3db6) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/tcltk')
-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 6d52f34a9f..a62b703082 100644
--- a/meta/recipes-devtools/tcltk/tcl/run-ptest
+++ b/meta/recipes-devtools/tcltk/tcl/run-ptest
@@ -1,7 +1,11 @@
1#!/bin/sh 1#!/bin/sh
2 2
3# clock.test needs a timezone to be set
4export TZ="Europe/London"
5export TCL_LIBRARY=library
6
3for i in `ls tests/*.test | awk -F/ '{print $2}'`; do 7for i in `ls tests/*.test | awk -F/ '{print $2}'`; do
4 TCL_LIBRARY=library ./tcltest tests/all.tcl -file $i >$i.log 2>&1 8 ./tcltest tests/all.tcl -file $i >$i.log 2>&1
5 grep -q -F -e "Files with failing tests:" -e "Test files exiting with errors:" $i.log 9 grep -q -F -e "Files with failing tests:" -e "Test files exiting with errors:" $i.log
6 if [ $? -eq 0 ]; then 10 if [ $? -eq 0 ]; then
7 echo "FAIL: $i" 11 echo "FAIL: $i"