The grep was only looking for tests which explicitly fail, and wasn't
catching tests that error.

Signed-off-by: Ross Burton <ross.bur...@arm.com>
---
 meta/recipes-devtools/tcltk/tcl/run-ptest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#153775): 
https://lists.openembedded.org/g/openembedded-core/message/153775
Mute This Topic: https://lists.openembedded.org/mt/84153707/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to