aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-08-07 09:15:56 +0000
committerJustus Winter <[email protected]>2017-08-07 09:15:56 +0000
commitb0112dbca91e720a4ff622ad0e88d99eba56203a (patch)
tree8db8dd66592bb1cb96329e982ca4c08a77cf8dd0 /configure.ac
parentFix spelling. (diff)
downloadgnupg-b0112dbca91e720a4ff622ad0e88d99eba56203a.tar.gz
gnupg-b0112dbca91e720a4ff622ad0e88d99eba56203a.zip
tests: Do not run all tests unless in maintainer mode.
* configure.ac: Leak the maintainer mode flag into 'config.h'. * tests/gpgscm/ffi.c: Pass it into the scheme environment. * tests/openpgp/all-tests.scm: Only run tests against non-default configurations (keyring, extended-key-format) in maintainer mode. -- Werner is concerned that the tests do take up too much time and asked me to reduce the runtime of the tests for normal users. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 18e6c09bb..20a6ed64e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1541,6 +1541,11 @@ if test "$development_version" = yes; then
[Defined if this is not a regular release])
fi
+if test "$USE_MAINTAINER_MODE" = "yes"; then
+ AC_DEFINE(MAINTAINER_MODE,1,
+ [Defined if this build is in maintainer mode])
+fi
+
AM_CONDITIONAL(CROSS_COMPILING, test x$cross_compiling = xyes)
GNUPG_CHECK_GNUMAKE