mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
tests: New way to make use of gpgconf.ctl in tests.
* Makefile.am (all-local): New to setup symlinks. (distclean-local): New. * tests/Makefile.am: Remove the gpgconf related targets. Just keep gpgconf.ctl.in in EXTRA_DIST * tests/cms/Makefile.am (GNUPG_BUILD_ROOT): * tests/gpgme/Makefile.am (GPGSCM_PATH): * tests/openpgp/Makefile.am (GNUPG_BUILD_ROOT): * tests/pkits/Makefile.am (GNUPG_BUILD_ROOT): * tests/tpm2dtests/defs.scm (tools): Revert to the former values. * tests/openpgp/defs.scm (tools): Ditto. -- This Fixes-commit:399ebf6d87
Fixes-commit:84fcd8e6eb
because we ran into problems with the idea of first doing a test-install for the checks. "make distcheck" turned out to be too problematic. Symlinks are a better way of doing this. Also fixes GnuPG-bug-id: 5634
This commit is contained in:
parent
257632f58d
commit
bcd5feec0e
9 changed files with 61 additions and 55 deletions
|
@ -32,7 +32,7 @@ AM_CFLAGS =
|
|||
# if the shell used for inittests would uses an internal version of
|
||||
# pwd which handles symlinks differently.
|
||||
OLD_TESTS_ENVIRONMENT = GNUPGHOME=`/bin/pwd` GPG_AGENT_INFO= LC_ALL=C \
|
||||
GNUPG_BUILD_ROOT="$(abs_top_builddir)/tests" \
|
||||
GNUPG_BUILD_ROOT="$(abs_top_builddir)" \
|
||||
GPGSM="$(GPGSM)" "$(srcdir)/runtest"
|
||||
|
||||
TESTS_ENVIRONMENT = LC_ALL=C \
|
||||
|
@ -40,7 +40,7 @@ TESTS_ENVIRONMENT = LC_ALL=C \
|
|||
PATH="../gpgscm:$(PATH)" \
|
||||
abs_top_srcdir="$(abs_top_srcdir)" \
|
||||
objdir="$(abs_top_builddir)" \
|
||||
GNUPG_BUILD_ROOT="$(abs_top_builddir)/tests" \
|
||||
GNUPG_BUILD_ROOT="$(abs_top_builddir)" \
|
||||
GPGSCM_PATH="$(abs_top_srcdir)/tests/gpgscm"
|
||||
|
||||
XTESTS = \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue