From: Ross Burton Date: Mon, 12 Jul 2021 13:20:49 +0000 (+0100) Subject: tcl: clock.test needs a timezone to be set X-Git-Tag: uninative-3.3~255 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=2ee179c78d8904da5c1a28855e3bc4a01a4c3db6;p=openembedded-core.git tcl: clock.test needs a timezone to be set Signed-off-by: Ross Burton --- 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 @@ #!/bin/sh +# clock.test needs a timezone to be set +export TZ="Europe/London" +export TCL_LIBRARY=library + for i in `ls tests/*.test | awk -F/ '{print $2}'`; do - TCL_LIBRARY=library ./tcltest tests/all.tcl -file $i >$i.log 2>&1 + ./tcltest tests/all.tcl -file $i >$i.log 2>&1 grep -q -F -e "Files with failing tests:" -e "Test files exiting with errors:" $i.log if [ $? -eq 0 ]; then echo "FAIL: $i"