From 078d3d0cd8aa031e4ee90770691dbd3f71178f53 Mon Sep 17 00:00:00 2001 From: Derek Atkins Date: Tue, 2 Jan 2007 18:00:13 +0000 Subject: [PATCH] Uncomment the test-qofmath to make it easier to use. Change it to check_PROGRAMS use _CPPFLAGS instead of DEFS -- this works great! git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15302 57a11ea4-9604-0410-9ed3-97b8803252fd --- lib/libqof/qof/Makefile.am | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/libqof/qof/Makefile.am b/lib/libqof/qof/Makefile.am index dba58fa291..664f53810d 100644 --- a/lib/libqof/qof/Makefile.am +++ b/lib/libqof/qof/Makefile.am @@ -95,10 +95,10 @@ qofla-dir.h: $(srcdir)/qofla-dir.h.in Makefile BUILT_SOURCES = qofla-dir.h CLEANFILES = $(BUILT_SOURCES) -## For testing the qofmath128 routines, uncomment the following -## lines and run the test-qofmath program. -#noinst_PROGRAMS = test-qofmath -#test_qofmath_SOURCES=gnc-numeric.c -#DEFS=-DTEST_128_BIT_MULT -#test_qofmath_LDFLAGS=$(libgncqof_la_LDFLAGS) -#test_qofmath_LDADD=$(libgncqof_la_LIBADD) +## For testing the qofmath128 routines +# run "make check" (to build the test program) and then run test-qofmath +check_PROGRAMS = test-qofmath +test_qofmath_SOURCES=gnc-numeric.c +test_qofmath_CPPFLAGS=$(libgncqof_la_CPPFLAGS) -DTEST_128_BIT_MULT +test_qofmath_LDFLAGS=$(libgncqof_la_LDFLAGS) +test_qofmath_LDADD=$(libgncqof_la_LIBADD)