From: Nikos Mavrogiannopoulos Date: Sun, 23 Nov 2014 21:23:55 +0000 (+0100) Subject: tests: run rfc2253-escape-test under valgrind X-Git-Tag: gnutls_3_4_0~565 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a6a66ed5dc3dccf3e2d0f8fb7c4e8dc7aea08e42;p=thirdparty%2Fgnutls.git tests: run rfc2253-escape-test under valgrind --- diff --git a/tests/rfc2253-escape-test b/tests/rfc2253-escape-test index cf650a023e..8f620dc4c8 100755 --- a/tests/rfc2253-escape-test +++ b/tests/rfc2253-escape-test @@ -24,9 +24,12 @@ set -e srcdir=${srcdir:-.} CERTTOOL=${CERTTOOL:-../src/certtool$EXEEXT} +if ! test -z "${VALGRIND}";then +VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND} --error-exitcode=1" +fi if cat< /dev/null -----BEGIN CERTIFICATE----- MIICETCCAXygAwIBAgIESnlIMTALBgkqhkiG9w0BAQUwODEdMBsGA1UEChMUUkZD