1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

build,w32: Unconditionally build tests.

* configure.ac (run_tests, RUN_TESTS, RUN_GPG_TESTS): Remove
variables.  They are misleadingly named, as they inhibit building the
tests.  There is no reason not to build the tests even when
cross-compiling, as they are only run if one does 'make check'.
* Makefile: Adapt accordingly.
* tests/Makefile.am: Adapt accordingly.  Avoid building 'asschk' on
Windows as it uses non-portable functions.

Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
Justus Winter 2016-09-30 16:22:40 +02:00
parent 41b510f9c5
commit 4a232d23a8
3 changed files with 4 additions and 26 deletions

View file

@ -18,14 +18,7 @@
## Process this file with automake to produce Makefile.in
if RUN_GPG_TESTS
openpgp = openpgp
else
openpgp =
endif
SUBDIRS = gpgscm ${openpgp} . migrations pkits
SUBDIRS = gpgscm openpgp migrations pkits .
GPGSM = ../sm/gpgsm
@ -66,7 +59,9 @@ CLEANFILES = inittests.stamp x y y z out err \
DISTCLEANFILES = pubring.kbx~ random_seed
if !HAVE_W32_SYSTEM
noinst_PROGRAMS = asschk
endif
asschk_SOURCES = asschk.c