CVS update: gnucash/src/engine

Derek Atkins warlord@MIT.EDU
04 Dec 2001 10:32:45 -0500


Yes, you need to 'make check' to setup the environment.

-derek

linas@linas.org (Linas Vepstas) writes:

> p.s. what is the deal with running the tests?  They all crash. 
> If I just cd src/engine/test and run a test, I get 
> 
> GLib-CRITICAL **: file gmem.c: line 563 (g_mem_chunk_alloc): assertion
> `mem_chunk != NULL' failed.
> Segmentation fault
> 
> #0  0x400baddc in scm_igc () from /usr/lib/libguile.so.9
> #1  0x400bad63 in scm_gc_for_newcell () from /usr/lib/libguile.so.9
> #2  0x400e02ff in scm_makstr () from /usr/lib/libguile.so.9
> #3  0x400e0533 in scm_makfromstr () from /usr/lib/libguile.so.9
> #4  0x400e0590 in scm_makfrom0str () from /usr/lib/libguile.so.9
> #5  0x400e28d9 in scm_eval_0str () from /usr/lib/libguile.so.9
> #6  0x400be78e in gh_eval_str () from /usr/lib/libguile.so.9
> #7  0x400701a7 in gnc_engine_commodity_table_new () at engine-helpers.c:55
> #8  0x4003db8c in gnc_book_init (book=0x8050148) at gnc-book.c:93
> #9  0x4003dbf1 in gnc_book_new () at gnc-book.c:107
> #10 0x0804b33c in run_test () at test-period.c:34
> #11 0x0804b3c7 in main (argc=1, argv=0xbffffa94) at test-period.c:57
> #12 0x4019765f in __libc_start_main () from /lib/libc.so.6
> 
> 
> Is there some special framework that sets up environment variables 
> for these tests ??
> 
> 
> 
> > 
> > dave
> > 
> 
> 
> 
> -- 
> pub  1024D/01045933 2001-02-01 Linas Vepstas (Labas!) <linas@linas.org>
> PGP Key fingerprint = 8305 2521 6000 0B5E 8984  3F54 64A9 9A82 0104 5933
> _______________________________________________
> gnucash-patches mailing list
> gnucash-patches@lists.gnumatic.com
> http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-patches

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available