summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2018-01-25 13:00:06 +0100
committerDaiki Ueno <ueno@gnu.org>2018-01-30 19:41:26 +0100
commit14853b1d8466d4e3b5aa23ff14f2abacd4e7e8ef (patch)
tree05c0bce2c87250d85c06f578fc8cd1eb26e1d506 /common
parent05b67a36e2118b4485da7bd26ed3ba85efdeddb4 (diff)
build: Delay compilation of test-related stuff
Diffstat (limited to 'common')
-rw-r--r--common/Makefile.am9
1 files changed, 6 insertions, 3 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index daa6fa2..d5af029 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -7,10 +7,13 @@ inc_HEADERS += \
noinst_LTLIBRARIES += \
libp11-common.la \
libp11-library.la \
- libp11-test.la \
libp11-tool.la \
$(NULL)
+check_LTLIBRARIES += \
+ libp11-test.la \
+ $(NULL)
+
libp11_common_la_SOURCES = \
common/argv.c common/argv.h \
common/attrs.c common/attrs.h \
@@ -54,7 +57,7 @@ common_LIBS = \
libp11-common.la \
$(NULL)
-check_PROGRAMS += \
+c_tests += \
test-tests \
test-compat \
test-hash \
@@ -109,7 +112,7 @@ test_tests_LDADD = $(common_LIBS)
test_url_SOURCES = common/test-url.c
test_url_LDADD = $(common_LIBS)
-noinst_PROGRAMS += \
+check_PROGRAMS += \
frob-getauxval \
frob-getenv \
$(NULL)