summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2021-07-09 18:00:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-13 14:24:48 +0100
commit25f198e03e2cc3e969d704b7a56e207933fc0ffc (patch)
treeb5dc616d9b7e9cd5efc28b4aea3c1f55735a773f /meta/recipes-devtools/tcltk
parentebd76c5d2afdf2da2d2b35946069122545b69ed3 (diff)
downloadopenembedded-core-25f198e03e2cc3e969d704b7a56e207933fc0ffc.tar.gz
tcl: detect tests that error as well as fail
The grep was only looking for tests which explicitly fail, and wasn't catching tests that error. Signed-off-by: Ross Burton <ross.burton@arm.com>
Diffstat (limited to 'meta/recipes-devtools/tcltk')
-rw-r--r--meta/recipes-devtools/tcltk/tcl/run-ptest2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl/run-ptest b/meta/recipes-devtools/tcltk/tcl/run-ptest
index 22bb69ae0d..6d52f34a9f 100644
--- a/meta/recipes-devtools/tcltk/tcl/run-ptest
+++ b/meta/recipes-devtools/tcltk/tcl/run-ptest
@@ -2,7 +2,7 @@
for i in `ls tests/*.test | awk -F/ '{print $2}'`; do
TCL_LIBRARY=library ./tcltest tests/all.tcl -file $i >$i.log 2>&1
- grep -q "^Files with failing tests:" $i.log
+ grep -q -F -e "Files with failing tests:" -e "Test files exiting with errors:" $i.log
if [ $? -eq 0 ]; then
echo "FAIL: $i"
cat $i.log