From: Sebastian Harl Date: Tue, 24 Jun 2014 17:51:14 +0000 (+0200) Subject: t/: Make mock_plugin a "check" library. X-Git-Tag: sysdb-0.2.0~19^2~1 X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=commitdiff_plain;h=49a7df2864120d4b8e168a420c7364e5d01be7b0 t/: Make mock_plugin a "check" library. This way, it's only built on 'make check' (aka 'make test'). --- diff --git a/t/Makefile.am b/t/Makefile.am index 43d24d9..f40d16f 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -12,7 +12,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/include TESTS = check_PROGRAMS = -noinst_LTLIBRARIES = +check_LTLIBRARIES = # # unit tests @@ -58,7 +58,7 @@ if INTEGRATION_TESTING TESTS += integration/simple_config.sh integration/simple_query.sh endif -noinst_LTLIBRARIES += integration/mock_plugin.la +check_LTLIBRARIES += integration/mock_plugin.la integration_mock_plugin_la_SOURCES = integration/mock_plugin.c # -rpath is a work-around to enforce a shared library integration_mock_plugin_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version \