r18768 - gnucash/trunk/src - Fix test makefiles. Many tests now need to include other libraries because files have changed directories.

Phil Longstaff plongstaff at code.gnucash.org
Mon Mar 1 13:03:51 EST 2010


Author: plongstaff
Date: 2010-03-01 13:03:51 -0500 (Mon, 01 Mar 2010)
New Revision: 18768
Trac: http://svn.gnucash.org/trac/changeset/18768

Modified:
   gnucash/trunk/src/import-export/ofx/test/Makefile.am
   gnucash/trunk/src/register/ledger-core/test/Makefile.am
   gnucash/trunk/src/register/register-core/test/Makefile.am
   gnucash/trunk/src/register/register-gnome/test/Makefile.am
   gnucash/trunk/src/report/report-gnome/test/Makefile.am
Log:
Fix test makefiles.  Many tests now need to include other libraries because files have changed directories.


Modified: gnucash/trunk/src/import-export/ofx/test/Makefile.am
===================================================================
--- gnucash/trunk/src/import-export/ofx/test/Makefile.am	2010-03-01 16:46:49 UTC (rev 18767)
+++ gnucash/trunk/src/import-export/ofx/test/Makefile.am	2010-03-01 18:03:51 UTC (rev 18768)
@@ -4,4 +4,6 @@
 check_PROGRAMS=test-link
 
 test_link_SOURCES=test-link.c
-test_link_LDADD=../libgncmod-ofx.la 
+test_link_LDADD=\
+	${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
+    ../libgncmod-ofx.la 

Modified: gnucash/trunk/src/register/ledger-core/test/Makefile.am
===================================================================
--- gnucash/trunk/src/register/ledger-core/test/Makefile.am	2010-03-01 16:46:49 UTC (rev 18767)
+++ gnucash/trunk/src/register/ledger-core/test/Makefile.am	2010-03-01 18:03:51 UTC (rev 18768)
@@ -3,6 +3,8 @@
 check_PROGRAMS = test-link-module
 
 test_link_module_SOURCES=test-link-module.c
-test_link_module_LDADD=../libgncmod-ledger-core.la
+test_link_module_LDADD=\
+	${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
+    ../libgncmod-ledger-core.la
 
 AM_CPPFLAGS = -I${top_srcdir}/src/test-core -I.. ${GLIB_CFLAGS}

Modified: gnucash/trunk/src/register/register-core/test/Makefile.am
===================================================================
--- gnucash/trunk/src/register/register-core/test/Makefile.am	2010-03-01 16:46:49 UTC (rev 18767)
+++ gnucash/trunk/src/register/register-core/test/Makefile.am	2010-03-01 18:03:51 UTC (rev 18768)
@@ -15,6 +15,7 @@
 test_link_module_LDADD= \
   ${top_builddir}/src/engine/libgncmod-engine.la \
   ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
+  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
   ../libgncmod-register-core.la
 
 #EXTRA_DIST = test-load-module

Modified: gnucash/trunk/src/register/register-gnome/test/Makefile.am
===================================================================
--- gnucash/trunk/src/register/register-gnome/test/Makefile.am	2010-03-01 16:46:49 UTC (rev 18767)
+++ gnucash/trunk/src/register/register-gnome/test/Makefile.am	2010-03-01 18:03:51 UTC (rev 18768)
@@ -15,6 +15,7 @@
 test_link_module_LDADD = \
   ${top_builddir}/src/engine/libgncmod-engine.la \
   ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
+  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
   ../libgncmod-register-gnome.la
 
 #EXTRA_DIST = test-load-module

Modified: gnucash/trunk/src/report/report-gnome/test/Makefile.am
===================================================================
--- gnucash/trunk/src/report/report-gnome/test/Makefile.am	2010-03-01 16:46:49 UTC (rev 18767)
+++ gnucash/trunk/src/report/report-gnome/test/Makefile.am	2010-03-01 18:03:51 UTC (rev 18768)
@@ -20,7 +20,9 @@
 TESTS_ENVIRONMENT = \
   $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
 
-LDADD = ../libgncmod-report-gnome.la
+LDADD = \
+    ${top_builddir}/src/report/report-gnome/libgncmod-report-gnome.la \
+	${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la
 
 check_PROGRAMS = test-link-module
 



More information about the gnucash-changes mailing list