aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpgsm/Makefile.am
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2001-12-14 15:35:29 +0000
committerMarcus Brinkmann <[email protected]>2001-12-14 15:35:29 +0000
commita54c0a05b5ba239e06444e55b2a4c2bd87c761ce (patch)
tree2c69162db342ab59c8229493f6de38bbe12d2313 /tests/gpgsm/Makefile.am
parent2001-12-14 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-a54c0a05b5ba239e06444e55b2a4c2bd87c761ce.tar.gz
gpgme-a54c0a05b5ba239e06444e55b2a4c2bd87c761ce.zip
2001-12-14 Marcus Brinkmann <[email protected]>
* configure.ac (GPG): Substitute this variable. (GPGSM): Likewise. tests/ CVS2001-12-14 Marcus Brinkmann <[email protected]> * gpg/Makefile.am (GPG): Set to @GPG_PATH@. (./pubring.gpg): Use $(GPG) instead gpg. (./secring.gpg): Likewise. * gpgsm/t-import.c (main): Remove third test case. * gpgsm/Makefile.am (GPGSM): Set to @GPGSM@. (all-local): New target. (./pubcerts.kbx): Likewise. * gpgsm/t-encrypt.c: New file. * gpgsm/Makefile.am (TESTS): Add t-encrypt.
Diffstat (limited to 'tests/gpgsm/Makefile.am')
-rw-r--r--tests/gpgsm/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/gpgsm/Makefile.am b/tests/gpgsm/Makefile.am
index bf724fb4..b08af8bb 100644
--- a/tests/gpgsm/Makefile.am
+++ b/tests/gpgsm/Makefile.am
@@ -19,10 +19,11 @@
## Process this file with automake to produce Makefile.in
+GPGSM = @GPGSM@
TESTS_ENVIRONMENT = GNUPGHOME=.
-TESTS = t-import t-keylist
+TESTS = t-import t-keylist t-encrypt
EXTRA_DIST = cert_dfn_pca01.der cert_dfn_pca15.der cert_g10code_test1.der
@@ -31,3 +32,8 @@ INCLUDES = -I$(top_srcdir)/gpgme
LDADD = ../../gpgme/libgpgme.la
noinst_PROGRAMS = $(TESTS)
+
+all-local: ./pubcerts.kbx
+
+./pubcerts.kbx: $(srcdir)/cert_g10code_test1.der
+ $(GPGSM) --homedir . --import $(srcdir)/cert_g10code_test1.der