mirror of https://github.com/getdnsapi/getdns.git
Old valgrind travis-ci (test mode 4)
This commit is contained in:
parent
532c26d7c8
commit
255e60cdcd
|
@ -13,7 +13,7 @@ qwerlkjhasdfpuiqwyerm.1234kjhrqwersv.com
|
||||||
-H 2a04:b900:0:100::37
|
-H 2a04:b900:0:100::37
|
||||||
EOT
|
EOT
|
||||||
(
|
(
|
||||||
if ! "${BUILDDIR}/build/libtool" exec valgrind -v --leak-check=full --error-exitcode=1 --track-origins=yes "${GETDNS_QUERY}" -F queries -f "${TPKG_NAME}.ds" +dnssec_return_validation_chain
|
if ! "${BUILDDIR}/build/libtool" exec valgrind -v --log-file=valgrind.log --leak-check=full --error-exitcode=1 --track-origins=yes "${GETDNS_QUERY}" -F queries -f "${TPKG_NAME}.ds" +dnssec_return_validation_chain
|
||||||
then
|
then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -21,9 +21,10 @@ EOT
|
||||||
echo '**************************************'
|
echo '**************************************'
|
||||||
echo '************** hiero ***************'
|
echo '************** hiero ***************'
|
||||||
echo '************** ***************'
|
echo '************** ***************'
|
||||||
awk '/^==.*(definitely|indirectly|possibly) lost/{print;if($4>0)exit(1)}' output
|
awk '/^==.*(definitely|indirectly|possibly) lost/{print;if($4>0)exit(1)}' valgrind.log
|
||||||
echo '************** ***************'
|
echo '************** ***************'
|
||||||
echo '************** hiero ***************'
|
echo '************** hiero ***************'
|
||||||
echo '**************************************'
|
echo '**************************************'
|
||||||
|
cat valgrind.log
|
||||||
cat output
|
cat output
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue