mirror of https://gitlab.com/qemu-project/dtc.git
tests: Property count valgrind errors in wrapped tests
The logic in wrap_test() was effectively squashing valgrind errors into the "FAIL" bucket rather than their own bucket as intended. Correct it. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
5062516fb8
commit
43366bb4ee
|
@ -88,6 +88,9 @@ wrap_test () {
|
|||
if [ "$ret" -gt 127 ]; then
|
||||
signame=$(kill -l $((ret - 128)))
|
||||
FAIL "Killed by SIG$signame"
|
||||
elif [ "$ret" -eq $VGCODE ]; then
|
||||
echo "VALGRIND ERROR"
|
||||
exit $VGCODE
|
||||
else
|
||||
FAIL "Returned error code $ret"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue