[Gnucash-changes] r12341 - gnucash/trunk - Using Derek's build-from-tree fix to fix the test-version check

Chris Shoemaker c.shoemaker at cox.net
Fri Jan 13 23:12:38 EST 2006


On Fri, Jan 13, 2006 at 02:22:42PM -0500, Derek Atkins wrote:
> Quoting Neil Williams <codehelp at cvs.gnucash.org>:
> 
> >--- gnucash/trunk/src/bin/test/test-version	2006-01-13 17:41:53 UTC 
> >(rev 12340)
> >+++ gnucash/trunk/src/bin/test/test-version	2006-01-13 19:12:12 UTC 
> >(rev 12341)
> >@@ -1,3 +1,5 @@
> >#!/bin/sh
> >+PATH="../overrides/:$PATH"
> >+export PATH
> >
> >-exec ../gnucash --version
> >+exec gnucash-build-env gnucash --version
> 
> I'm not sure this works..  Did you test this before you committed it?
> It's going to call gnucash-env which is going to override the settings
> that gnucash-build-env sets.

I can confirm that this doesn't work.  I've never seen guile die quite
so glorious a death:

*** glibc detected *** /usr/bin/guile: realloc(): invalid size: 0x08836bf0 ***
======= Backtrace: =========
/lib/libc.so.6[0x975045]
/lib/libc.so.6(__libc_realloc+0x101)[0x975a30]
....

I also confirm that 
$ exec ../overrides/gnucash-build-env  ../gnucash-bin --version

works and I don't see the tax-table errors either.  We should use that
for the test.  It doesn't actually run the whole gui, though.  I may
have a look at why...  The prospect of running from the build tree is
too enticing.

-chris


More information about the gnucash-devel mailing list