mirror of https://github.com/getdnsapi/getdns.git
Scan valgrind logs for errors too
This commit is contained in:
parent
3a1cb30c28
commit
323239be58
|
@ -32,3 +32,9 @@ then
|
|||
cat output
|
||||
exit 1
|
||||
fi
|
||||
if ! awk '/^==.* ERROR SUMMARY/{print;if($4>0)exit(1)}' valgrind.log
|
||||
then
|
||||
cat valgrind.log
|
||||
cat output
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -11,6 +11,7 @@ qwerlkjhasdfpuiqwyerm.1234kjhrqwersv.com
|
|||
-G TXT bogus.nlnetlabs.nl
|
||||
-H 8.8.8.8
|
||||
-H 2a04:b900:0:100::37
|
||||
-A _acme-challenge.getdnsapi.net
|
||||
EOT
|
||||
(
|
||||
if ! "${BUILDDIR}/build-stub-only/libtool" exec valgrind -v --log-file=valgrind.log --leak-check=full --error-exitcode=1 --track-origins=yes "${GETDNS_STUB_QUERY}" -F queries -f "${TPKG_NAME}.ds" +dnssec_return_validation_chain
|
||||
|
@ -24,3 +25,9 @@ then
|
|||
cat output
|
||||
exit 1
|
||||
fi
|
||||
if ! awk '/^==.* ERROR SUMMARY/{print;if($4>0)exit(1)}' valgrind.log
|
||||
then
|
||||
cat valgrind.log
|
||||
cat output
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue