OpenSSL 1.0.1 and earlier generate undef warnings due
to using stack as randomness source in a way that
valgrind does not like, so we disable undef value
checks for mail-crypt-plugin.
-I$(top_srcdir)/src/doveadm \
-I$(top_srcdir)/src/plugins/acl
+if SSL_VERSION_GE_102
+test_options =
+else !SSL_VERSION_GE_102
+test_options = NOUNDEF=1
+endif !SSL_VERSION_GE_102
+
doveadm_moduledir = $(moduledir)/doveadm
NOPLUGIN_LDFLAGS =
check: check-am check-test
check-test: all-am
for bin in $(test_programs); do \
- if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \
+ if ! env $(test_options) $(RUN_TEST) ./$$bin; then exit 1; fi; \
done
noinst_PROGRAMS = $(test_programs)