aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/tests
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2018-08-06 07:30:47 +0000
committerAndre Heinecke <[email protected]>2018-08-06 07:30:47 +0000
commitd09d19fa9fe1e81dd819b32208b4bd09f83e3918 (patch)
tree26257f898ba309f150bde6aef2a7ef7de3433ca0 /lang/qt/tests
parentcpp: Add safety checks for key update (diff)
downloadgpgme-d09d19fa9fe1e81dd819b32208b4bd09f83e3918.tar.gz
gpgme-d09d19fa9fe1e81dd819b32208b4bd09f83e3918.zip
Make GNUPGHOME for tests overridable
* lang/python/tests/Makefile.am, lang/qt/tests/Makefile.am, tests/Makefile.am, tests/gpg/Makefile.am, tests/gpgsm/Makefile.am, tests/opassuan/Makefile.am (GNUPGHOME): Make variable explict. -- If the build directory has too long path, gpgme could fail. This is similar to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847206 In order to fix that, this patch extracts the GNUPGHOME variable to be presented directly in the Makefile and thus overridable by command line option. A build system can then create a symlink to the GNUPGHOME directory in /tmp and use that symlink as the GNUPGHOME directory thus making the path very short. GnuPG-Bug-Id: T4091 Patch provided by vlmarek
Diffstat (limited to 'lang/qt/tests')
-rw-r--r--lang/qt/tests/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/qt/tests/Makefile.am b/lang/qt/tests/Makefile.am
index 104672e4..bfe77ad5 100644
--- a/lang/qt/tests/Makefile.am
+++ b/lang/qt/tests/Makefile.am
@@ -21,7 +21,8 @@
GPG = gpg
-TESTS_ENVIRONMENT = GNUPGHOME=$(abs_builddir)
+GNUPGHOME=$(abs_builddir)
+TESTS_ENVIRONMENT = GNUPGHOME=$(GNUPGHOME)
EXTRA_DIST = initial.test