mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-28 22:49:59 +01:00
tests: Run test requiring the network only in maintainer-mode.
* dirmngr/Makefile.am (noinst_PROGRAMS, TESTS): Add module_net_tests. (module_tests): Move t-dns-test to ... (module_net_tests): here. -- Debian-bug-id: 836259 Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
04c042f3f2
commit
babeb6f8a9
@ -28,8 +28,8 @@ if USE_LDAPWRAPPER
|
|||||||
libexec_PROGRAMS = dirmngr_ldap
|
libexec_PROGRAMS = dirmngr_ldap
|
||||||
endif
|
endif
|
||||||
|
|
||||||
noinst_PROGRAMS = $(module_tests) $(module_maint_tests)
|
noinst_PROGRAMS = $(module_tests) $(module_net_tests) $(module_maint_tests)
|
||||||
TESTS = $(module_tests)
|
TESTS = $(module_tests) $(module_net_tests)
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(top_srcdir)/common
|
AM_CPPFLAGS = -I$(top_srcdir)/common
|
||||||
|
|
||||||
@ -114,12 +114,20 @@ t_common_ldadd = $(libcommon) $(LIBASSUAN_LIBS) $(LIBGCRYPT_LIBS) \
|
|||||||
$(NTBTLS_LIBS) $(LIBGNUTLS_LIBS) \
|
$(NTBTLS_LIBS) $(LIBGNUTLS_LIBS) \
|
||||||
$(DNSLIBS) $(LIBINTL) $(LIBICONV)
|
$(DNSLIBS) $(LIBINTL) $(LIBICONV)
|
||||||
|
|
||||||
module_tests = t-dns-stuff
|
module_tests =
|
||||||
|
|
||||||
if USE_LDAP
|
if USE_LDAP
|
||||||
module_tests += t-ldap-parse-uri
|
module_tests += t-ldap-parse-uri
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Test which need a network connections are only used in maintainer mode.
|
||||||
|
if MAINTAINER_MODE
|
||||||
|
module_net_tests = t-dns-stuff
|
||||||
|
else
|
||||||
|
module_net_tests =
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Tests which are only for manually testing are only build in maintainer-mode.
|
||||||
if MAINTAINER_MODE
|
if MAINTAINER_MODE
|
||||||
module_maint_tests = t-http
|
module_maint_tests = t-http
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user