From ccff2c2124b9ff085fb8473610a35daf1ab875cd Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 16 Jul 2009 12:49:52 -0400 Subject: Run ini_config unit test with "make check" Also adds support for running ini_config_ut under a parallel build directory. --- common/ini/Makefile.am | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'common/ini/Makefile.am') diff --git a/common/ini/Makefile.am b/common/ini/Makefile.am index dc30e947..39ab40b3 100644 --- a/common/ini/Makefile.am +++ b/common/ini/Makefile.am @@ -16,7 +16,11 @@ ACLOCAL_AMFLAGS = -I m4 # Set up the pkg-config file pkgconfigdir = $(libdir)/pkgconfig -dist_noinst_DATA = ini_config.pc +dist_noinst_DATA = \ + ini_config.pc \ + ini.conf \ + ini.d/real.conf \ + ini.d/test.conf # Build library noinst_LTLIBRARIES = libini_config.la @@ -25,6 +29,8 @@ libini_config_la_SOURCES = \ ini_config.h # Build unit test -noinst_PROGRAMS = ini_config_ut +check_PROGRAMS = ini_config_ut ini_config_ut_SOURCES = ini_config_ut.c ini_config_ut_LDADD = libini_config.la ../collection/libcollection.la + +TESTS = ini_config_ut -- cgit