summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk/tcl/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/tcltk/tcl/run-ptest')
-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"