mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
valgrind: print failed ptest details
Some intermittent failures in valgrind are hard reproduce. Printing the difference between actual and expected will make understanding them slightly easier. [YOCTO #14294] (From OE-Core rev: 099313ef541920d4a84b801d9d8788a56ba7ec61) Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
cc5d71ef73
commit
bbe14ab331
@@ -55,6 +55,16 @@ for i in `cat remove-for-all`; do
|
|||||||
mv $i.IGNORE $i.vgtest;
|
mv $i.IGNORE $i.vgtest;
|
||||||
done
|
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`
|
passed=`grep PASS: ${LOG}|wc -l`
|
||||||
failed=`grep FAIL: ${LOG}|wc -l`
|
failed=`grep FAIL: ${LOG}|wc -l`
|
||||||
skipped=`grep SKIP: ${LOG}|wc -l`
|
skipped=`grep SKIP: ${LOG}|wc -l`
|
||||||
|
|||||||
Reference in New Issue
Block a user