mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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 <justus@g10code.com>
This commit is contained in:
parent
a611cba142
commit
b0112dbca9
3 changed files with 38 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue