diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-03-18 22:48:06 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-03-18 22:48:06 +0100 |
commit | a247ed11f78f5472b6446ddbc14f17c1028c0aef (patch) | |
tree | 91ee267c0b13074859fe4e6e5d9588de60e1d252 /tests/slow | |
parent | 51ee68ddd4a7ed3c8f67f91cec2159d20799db43 (diff) | |
download | gnutls-a247ed11f78f5472b6446ddbc14f17c1028c0aef.tar.gz |
tests: link cipher tests directly with nettle when needed
Diffstat (limited to 'tests/slow')
-rw-r--r-- | tests/slow/Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/slow/Makefile.am b/tests/slow/Makefile.am index 1ce5157604..856c0371ed 100644 --- a/tests/slow/Makefile.am +++ b/tests/slow/Makefile.am @@ -30,7 +30,7 @@ endif AM_LDFLAGS = -no-install LDADD = ../libutils.la \ - $(top_builddir)/lib/libgnutls.la $(LTLIBGCRYPT) $(LIBSOCKET) + $(top_builddir)/lib/libgnutls.la $(LIBSOCKET) if !ENABLE_SELF_CHECKS cipher_test_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_builddir)/lib/ -I$(top_builddir)/gl/ @@ -40,6 +40,11 @@ endif ctests = gendh keygen +if ENABLE_NETTLE +cipher_override_LDFLAGS = $(NETTLE_LIBS) $(HOGWEED_LIBS) $(GMP_LIBS) $(LDADD) +mac_override_LDFLAGS = $(NETTLE_LIBS) $(HOGWEED_LIBS) $(GMP_LIBS) $(LDADD) +endif + check_PROGRAMS = $(ctests) cipher-test cipher-override mac-override TESTS = $(ctests) test-ciphers override-ciphers |