]> code.ossystems Code Review - openembedded-core.git/commitdiff
tcl: clock.test needs a timezone to be set
authorRoss Burton <ross.burton@arm.com>
Mon, 12 Jul 2021 13:20:49 +0000 (14:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Jul 2021 13:24:48 +0000 (14:24 +0100)
Signed-off-by: Ross Burton <ross.burton@arm.com>
meta/recipes-devtools/tcltk/tcl/run-ptest

index 6d52f34a9fd2220d0f5b98ba7239d39db772634a..a62b7030821a0b9efb6bcb208674277c0b9d22a9 100644 (file)
@@ -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"