Code

t/: Make mock_plugin a "check" library.
authorSebastian Harl <sh@tokkee.org>
Tue, 24 Jun 2014 17:51:14 +0000 (19:51 +0200)
committerSebastian Harl <sh@tokkee.org>
Tue, 24 Jun 2014 17:51:14 +0000 (19:51 +0200)
This way, it's only built on 'make check' (aka 'make test').

t/Makefile.am

index 43d24d986ba541a8092a4448c50c94974a439502..f40d16f97a50f141e5d68e6efe806e5c4c10d174 100644 (file)
@@ -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 \