Skip to content

Commit

Permalink
t/: Make mock_plugin a "check" library.
Browse files Browse the repository at this point in the history
This way, it's only built on 'make check' (aka 'make test').
  • Loading branch information
tokkee committed Jun 24, 2014
1 parent 816b2d5 commit 49a7df2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/include

TESTS =
check_PROGRAMS =
noinst_LTLIBRARIES =
check_LTLIBRARIES =

#
# unit tests
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit 49a7df2

Please sign in to comment.