diff --git a/ChangeLog b/ChangeLog index a0ec3c41a9..8e95975e0f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2003-01-02 Derek Atkins + * src/business/business-core/gncInvoice.c: need a non-const string + * src/engine/test/Makefile.am: add test-link, make libgw-engine + depend on libgncmod-engine + * src/engine/test/test-link.c: add a source-file to test-link + * src/engine/test-core/test-engine-stuff.c: don't test double KVPs, on the theory that they will soon be deprecated. Fixes #127315 diff --git a/src/business/business-core/gncInvoice.c b/src/business/business-core/gncInvoice.c index 5735a2e56f..7f07b4a7d4 100644 --- a/src/business/business-core/gncInvoice.c +++ b/src/business/business-core/gncInvoice.c @@ -750,7 +750,8 @@ Transaction * gncInvoicePostToAccount (GncInvoice *invoice, Account *acc, GList *splitinfo = NULL; gnc_numeric total; gboolean reverse; - const char *name, *type, *lot_title; + const char *name, *type; + char *lot_title; Account *ccard_acct = NULL; GncOwner *owner; diff --git a/src/engine/Makefile.am b/src/engine/Makefile.am index a10e61a9bd..49c7d52bba 100644 --- a/src/engine/Makefile.am +++ b/src/engine/Makefile.am @@ -150,6 +150,7 @@ libgw_kvp_la_LDFLAGS = -module ${G_WRAP_LINK_ARGS} libgw_engine_la_SOURCES = gw-engine.c engine-helpers.c glib-helpers.c libgw_engine_la_LDFLAGS = -module ${G_WRAP_LINK_ARGS} +libgw_engine_la_LIBADD = libgncmod-engine.la gncmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash gncmod_DATA = engine.scm diff --git a/src/engine/test/Makefile.am b/src/engine/test/Makefile.am index 6abf177426..af02ded62c 100644 --- a/src/engine/test/Makefile.am +++ b/src/engine/test/Makefile.am @@ -22,6 +22,7 @@ LDADD = \ # that they should be executed, with more basic tests coming first. # TESTS = \ + test-link \ test-load-engine \ test-guid \ test-date \ @@ -54,6 +55,7 @@ TESTS_ENVIRONMENT := \ $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS}) noinst_PROGRAMS = \ + test-link \ test-commodities \ test-date \ test-freq-spec \ @@ -71,6 +73,9 @@ noinst_PROGRAMS = \ test-transaction-reversal \ test-transaction-voiding +test_link_SOURCES = test-link.c +test_link_LDADD = ../libgncmod-engine.la + EXTRA_DIST = \ test-create-account \ test-create-account.scm \ diff --git a/src/engine/test/test-link.c b/src/engine/test/test-link.c new file mode 100644 index 0000000000..ca6b3bf09a --- /dev/null +++ b/src/engine/test/test-link.c @@ -0,0 +1,5 @@ +int +main(int argc, char ** argv) +{ + return 0; +}