]> granicus.if.org Git - p11-kit/commitdiff
build: Delay building test programs until "make check"
authorDaiki Ueno <dueno@redhat.com>
Mon, 29 May 2017 13:06:04 +0000 (15:06 +0200)
committerDaiki Ueno <ueno@gnu.org>
Mon, 29 May 2017 15:28:51 +0000 (17:28 +0200)
This is to disable clang-analyzer against test programs, which can
contain several false-positives.

Makefile.am
common/Makefile.am
p11-kit/Makefile.am
trust/Makefile.am

index 2df3cc7c97082af9994d8cecc1004ca25074b4cd..b5e1136dbe4f65343455c150107ab632e914b7a9 100644 (file)
@@ -16,8 +16,7 @@ AM_CPPFLAGS = \
 
 bin_PROGRAMS =
 private_PROGRAMS =
-
-CHECK_PROGS =
+check_PROGRAMS =
 
 CLEANFILES =
 
@@ -29,10 +28,10 @@ inc_HEADERS =
 lib_LTLIBRARIES =
 
 noinst_LTLIBRARIES =
-noinst_PROGRAMS = $(CHECK_PROGS)
+noinst_PROGRAMS =
 noinst_SCRIPTS =
 
-TESTS = $(CHECK_PROGS)
+TESTS = $(check_PROGRAMS)
 
 moduledir = $(p11_module_path)
 module_LTLIBRARIES =
index 54d3f4ec1159ffecf2be0f377464ffa14c505eca..daa6fa21a04e9260175379f5a4f75915a95249c1 100644 (file)
@@ -54,7 +54,7 @@ common_LIBS = \
        libp11-common.la \
        $(NULL)
 
-CHECK_PROGS += \
+check_PROGRAMS += \
        test-tests \
        test-compat \
        test-hash \
index 687223ec2bbcae3bef67db9c6bb319c609521204..f2571d2564d98b50ad9de0a3e9eb2e31f038453d 100644 (file)
@@ -194,7 +194,7 @@ p11_kit_LIBS = \
        libp11-common.la \
        $(LTLIBINTL)
 
-CHECK_PROGS += \
+check_PROGRAMS += \
        test-progname \
        test-util \
        test-conf \
@@ -251,7 +251,7 @@ print_messages_LDADD = $(p11_kit_LIBS)
 frob_setuid_SOURCES = p11-kit/frob-setuid.c
 frob_setuid_LDADD = $(p11_kit_LIBS)
 
-CHECK_PROGS += \
+check_PROGRAMS += \
        test-virtual \
        test-managed \
        test-log \
index 2ae62d4b077fb5db56a69b2f566094be33b668b5..ba9c738e24e0c03994295833952b4a83307edca6 100644 (file)
@@ -144,7 +144,7 @@ libtrust_test_la_SOURCES = \
        trust/digest.c \
        $(NULL)
 
-CHECK_PROGS += \
+check_PROGRAMS += \
        test-digest \
        test-asn1 \
        test-base64 \