Some intermittent failures in valgrind are hard reproduce. Printing the difference between actual and expected will make understanding them slightly easier.
[YOCTO #14294] Signed-off-by: Yi Fan Yu <yifan...@windriver.com> --- meta/recipes-devtools/valgrind/valgrind/run-ptest | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/meta/recipes-devtools/valgrind/valgrind/run-ptest b/meta/recipes-devtools/valgrind/valgrind/run-ptest index 3e0205fe6e..60d243276b 100755 --- a/meta/recipes-devtools/valgrind/valgrind/run-ptest +++ b/meta/recipes-devtools/valgrind/valgrind/run-ptest @@ -56,6 +56,16 @@ for i in `cat remove-for-all`; do mv $i.IGNORE $i.vgtest; done +echo "Failed test details..." +failed_tests=`grep FAIL: ${LOG} | awk '{print $2}'` +for test in $failed_tests; do + for diff_results in `ls $test*.diff`; do + echo $diff_results + echo '************' + cat $diff_results + done +done + passed=`grep PASS: ${LOG}|wc -l` failed=`grep FAIL: ${LOG}|wc -l` skipped=`grep SKIP: ${LOG}|wc -l` -- 2.29.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#150167): https://lists.openembedded.org/g/openembedded-core/message/150167 Mute This Topic: https://lists.openembedded.org/mt/81782598/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-