* 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


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9752 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2004-01-03 01:41:50 +00:00
parent aa3f92a7e2
commit dae45860ea
5 changed files with 18 additions and 1 deletions

View File

@ -1,5 +1,10 @@
2003-01-02 Derek Atkins <derek@ihtfp.com>
* 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

View File

@ -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;

View File

@ -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

View File

@ -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 \

View File

@ -0,0 +1,5 @@
int
main(int argc, char ** argv)
{
return 0;
}