tests: Do not run all tests unless in maintainer mode.
authorJustus Winter <justus@g10code.com>
Mon, 7 Aug 2017 09:15:56 +0000 (11:15 +0200)
committerJustus Winter <justus@g10code.com>
Mon, 7 Aug 2017 09:15:56 +0000 (11:15 +0200)
commitb0112dbca91e720a4ff622ad0e88d99eba56203a
tree8db8dd66592bb1cb96329e982ca4c08a77cf8dd0
parenta611cba142470c52f3303c512f77ae7d195cc41f
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>
configure.ac
tests/gpgscm/ffi.c
tests/openpgp/all-tests.scm