diff options
author | Werner Koch <[email protected]> | 2017-08-08 15:28:25 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-08-08 15:49:53 +0000 |
commit | 3aa37d802ac10a38414a8cfe120de92a76968836 (patch) | |
tree | 662abe0a30c1f5fd1eafc94087c5b50d89a17007 | |
parent | gpgscm: Make the test summary stand out (diff) | |
download | libgpg-error-3aa37d802ac10a38414a8cfe120de92a76968836.tar.gz libgpg-error-3aa37d802ac10a38414a8cfe120de92a76968836.zip |
build: New configure option --enable-all-tests.
* configure.ac: New option --enable-all-tests.
* tests/gpgscm/ffi.c (ffi_init): New gloabl var *run-all-tests*.
* tests/openpgp/all-tests.scm (all-tests): Use that var instead
of *maintainer-mode*.
* Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): Add --enable-all-tests.
--
It is better to have a separate option to run all tests than to put
this on top of --enable-maintainer-mode. This way we can also make
sure to run all tests during "make distcheck".
Signed-off-by: Werner Koch <[email protected]>
-rw-r--r-- | ffi.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1450,6 +1450,14 @@ ffi_init (scheme *sc, const char *argv0, const char *scriptname, #endif ); + ffi_define (sc, "*run-all-tests*", +#if RUN_ALL_TESTS + sc->T +#else + sc->F +#endif + ); + ffi_define (sc, "*stdin*", sc->vptr->mk_port_from_file (sc, stdin, port_input)); |