r15302 - gnucash/trunk - Uncomment the test-qofmath to make it easier to use.

Derek Atkins warlord at cvs.gnucash.org
Tue Jan 2 13:00:14 EST 2007


Author: warlord
Date: 2007-01-02 13:00:13 -0500 (Tue, 02 Jan 2007)
New Revision: 15302
Trac: http://svn.gnucash.org/trac/changeset/15302

Modified:
   gnucash/trunk/
   gnucash/trunk/lib/libqof/qof/Makefile.am
Log:
Uncomment the test-qofmath to make it easier to use.
Change it to check_PROGRAMS
use <prog>_CPPFLAGS instead of DEFS -- this works great!



Property changes on: gnucash/trunk
___________________________________________________________________
Name: svk:merge
   - 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/swig-redo:802
3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/trunk:1037
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13787
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk2:13366
   + 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/swig-redo:802
3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/trunk:1037
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13820
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk2:13366

Modified: gnucash/trunk/lib/libqof/qof/Makefile.am
===================================================================
--- gnucash/trunk/lib/libqof/qof/Makefile.am	2007-01-02 17:26:18 UTC (rev 15301)
+++ gnucash/trunk/lib/libqof/qof/Makefile.am	2007-01-02 18:00:13 UTC (rev 15302)
@@ -95,10 +95,10 @@
 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)



More information about the gnucash-changes mailing list