travis: Run a gcrypt test with leak-detective
authorMartin Willi <martin@revosec.ch>
Mon, 13 Apr 2015 10:13:56 +0000 (12:13 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 15 Apr 2015 12:38:42 +0000 (14:38 +0200)
And also enable gcrypt in the all tests with leak-detective enabled.

.travis.yml
scripts/test.sh

index 46e7cfd..1b19669 100644 (file)
@@ -25,8 +25,8 @@ env:
     - TEST=default LEAK_DETECTIVE=yes
     - TEST=openssl
     - TEST=openssl LEAK_DETECTIVE=yes
-    # libgcrypt can't be deinitialized so we can't test it with leak detective
     - TEST=gcrypt
+    - TEST=gcrypt LEAK_DETECTIVE=yes
     # we can't test Vstr as negative int args are not properly passed to CBs
     - TEST=printf-builtin
     - TEST=printf-builtin LEAK_DETECTIVE=yes
index d21deae..0b4658c 100755 (executable)
@@ -37,10 +37,6 @@ all)
                        --disable-systemd --disable-soup --disable-unwind-backtraces
                        --disable-svc --disable-dbghelp-backtraces --disable-socket-win
                        --disable-kernel-wfp --disable-kernel-iph --disable-winhttp"
-       if test "$LEAK_DETECTIVE" = "yes"; then
-               # libgcrypt can't be deinitialized
-               CONFIG="$CONFIG --disable-gcrypt"
-       fi
        if test "$MONOLITHIC" = "yes"; then
                # Ubuntu 12.04 does not provide a proper -liptc pkg-config
                CONFIG="$CONFIG --disable-forecast --disable-connmark"