From 65e51d15924f7fd3d0aefc02858d8e9d900b75e2 Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Thu, 4 Mar 2010 22:48:38 +0000 Subject: [PATCH] Add the core-utils tests in the automake system git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18830 57a11ea4-9604-0410-9ed3-97b8803252fd --- configure.in | 1 + src/core-utils/Makefile.am | 2 ++ src/core-utils/test/Makefile.am | 2 ++ 3 files changed, 5 insertions(+) diff --git a/configure.in b/configure.in index 251912740d..fb3d126bd6 100644 --- a/configure.in +++ b/configure.in @@ -1385,6 +1385,7 @@ AC_CONFIG_FILES(po/Makefile.in src/bin/overrides/Makefile src/bin/test/Makefile src/core-utils/Makefile + src/core-utils/test/Makefile src/calculation/Makefile src/calculation/test/Makefile src/debug/Makefile diff --git a/src/core-utils/Makefile.am b/src/core-utils/Makefile.am index ba60d7ad1d..bbf5cd2389 100644 --- a/src/core-utils/Makefile.am +++ b/src/core-utils/Makefile.am @@ -1,3 +1,5 @@ +SUBDIRS = . test + lib_LTLIBRARIES = libgnc-core-utils.la libgnc_core_utils_la_SOURCES = \ diff --git a/src/core-utils/test/Makefile.am b/src/core-utils/test/Makefile.am index b87aa7633a..eba6956c62 100644 --- a/src/core-utils/test/Makefile.am +++ b/src/core-utils/test/Makefile.am @@ -2,6 +2,7 @@ AM_CPPFLAGS = \ -I${top_srcdir} \ -I${top_srcdir}/src \ + -I${top_srcdir}/src/test-core \ -I${top_srcdir}/src/libqof/qof \ -I${top_srcdir}/src/core-utils \ ${GUILE_INCS} \ @@ -9,6 +10,7 @@ AM_CPPFLAGS = \ LDADD = \ ../libgnc-core-utils.la \ + ${top_builddir}/src/test-core/libtest-core.la \ ${top_builddir}/src/libqof/qof/libgnc-qof.la \ ${GLIB_LIBS}