mirror of
https://github.com/dgibson/dtc.git
synced 2026-01-22 01:30:34 -05:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue