]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-program-client: Disable valgrind
authorAki Tuomi <aki.tuomi@dovecot.fi>
Mon, 17 Oct 2016 11:19:40 +0000 (14:19 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 19 Oct 2016 13:43:30 +0000 (16:43 +0300)
For local test, we can't use valgrind,
it's too unreliable (breaks execution sometimes).

src/lib-program-client/Makefile.am

index 14fbd3d219cc6f7f616999c53d6b640db697dd4f..b1ad1a60a36b6ebf4436ee1b75aa58541fe555d0 100644 (file)
@@ -39,5 +39,8 @@ test_program_client_remote_LDADD = $(test_libs)
 check: check-am check-test
 check-test: all-am
        for bin in $(test_programs); do \
-         if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \
+         if test "$bin" = "test-program-client-local"; then \
+           if ! env NOVALGRIND=yes $(RUN_TEST) ./$$bin; then exit 1; fi; \
+          else \
+           if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \
        done