summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-09-18 15:56:28 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-09-19 08:41:51 +0200
commit3de40153b7692744cfdec6c96299b19e43f9737b (patch)
tree953dd2e4b90e825b669cfb174be2324c5f9a4c02 /tests/Makefile.am
parent20151edffdb8d99c7feb986a2f102df76314cb7d (diff)
downloadgnutls-3de40153b7692744cfdec6c96299b19e43f9737b.tar.gz
Add an OpenPGP authentication unit test.
* tests/Makefile.am (ctests)[ENABLE_OPENPGP]: Add `openpgp-auth'. (TESTS_ENVIRONMENT): Add `srcdir'. * tests/openpgp-auth.c: New file. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index b14f4fd102..875173e465 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -68,7 +68,7 @@ openssl_LDADD = $(LDADD) ../libextra/libgnutls-openssl.la
endif
if ENABLE_OPENPGP
-ctests += openpgp-keyring pgps2kgnu
+ctests += openpgp-auth openpgp-keyring pgps2kgnu
openpgp_keyring_LDADD = $(LDADD) ../libextra/libgnutls-extra.la
endif
@@ -88,10 +88,11 @@ dist_check_SCRIPTS = rfc2253-escape-test
TESTS = $(ctests) $(dist_check_SCRIPTS)
-TESTS_ENVIRONMENT = \
- PKCS12FILE=$(srcdir)/pkcs12-decode/client.p12 \
- PKCS12PASSWORD=foobar \
+TESTS_ENVIRONMENT = \
+ PKCS12FILE=$(srcdir)/pkcs12-decode/client.p12 \
+ PKCS12PASSWORD=foobar \
PKCS12FILE_2=$(srcdir)/pkcs12-decode/pkcs12_2certs.p12 \
- PKCS12PASSWORD_2="" \
- EXEEXT=$(EXEEXT) \
+ PKCS12PASSWORD_2="" \
+ EXEEXT=$(EXEEXT) \
+ srcdir="$(srcdir)" \
$(VALGRIND)