diff options
author | Ross Burton <ross.burton@arm.com> | 2021-07-12 14:20:49 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-13 14:24:48 +0100 |
commit | 2ee179c78d8904da5c1a28855e3bc4a01a4c3db6 (patch) | |
tree | a7694afb5e5f0cd3c9534981268a377b991cccaa | |
parent | 25f198e03e2cc3e969d704b7a56e207933fc0ffc (diff) | |
download | openembedded-core-contrib-2ee179c78d8904da5c1a28855e3bc4a01a4c3db6.tar.gz |
tcl: clock.test needs a timezone to be set
Signed-off-by: Ross Burton <ross.burton@arm.com>
-rw-r--r-- | meta/recipes-devtools/tcltk/tcl/run-ptest | 6 |
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 @@ #!/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" |