mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
e15e97bdcf
commit
3a4da0d8f7
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user