mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
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 <wk@gnupg.org>
This commit is contained in:
parent
0bd19dae11
commit
fb21aa8b50
5 changed files with 28 additions and 3 deletions
14
configure.ac
14
configure.ac
|
@ -1667,6 +1667,20 @@ AC_ARG_ENABLE(optimization,
|
|||
CFLAGS=`echo $CFLAGS | sed s/-O[[1-9]]\ /-O0\ /g`
|
||||
fi])
|
||||
|
||||
#
|
||||
# Configure option --enable-all-tests
|
||||
#
|
||||
AC_MSG_CHECKING([whether "make check" shall run all tests])
|
||||
AC_ARG_ENABLE(all-tests,
|
||||
AC_HELP_STRING([--enable-all-tests],
|
||||
[let "make check" run all tests]),
|
||||
run_all_tests=$enableval, run_all_tests=no)
|
||||
AC_MSG_RESULT($run_all_tests)
|
||||
if test "$run_all_tests" = "yes"; then
|
||||
AC_DEFINE(RUN_ALL_TESTS,1,
|
||||
[Defined if "make check" shall run all tests])
|
||||
fi
|
||||
|
||||
#
|
||||
# We do not want support for the GNUPG_BUILDDIR environment variable
|
||||
# in a released version. However, our regression tests suite requires
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue