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

Neil Williams linux at codehelp.co.uk
Fri Jan 13 14:47:02 EST 2006


On Friday 13 January 2006 7:22 pm, 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?

Yes. make uninstall first, then tested src/bin/test-version and ran make 
check.

It certainly did not work before the change - and using only gnucash-build-env 
or just the PATH didn't work either. 
1) it can't find gnucash:
./test-version: line 8: exec: gnucash: not found
2) if you fix that, it can't find the scheme:
ERROR: no code for module (gnucash main)
3) without the path, it can't find gnucash-build-env:
./test-version: line 7: exec: gnucash-build-env: not found

As it is now:
test$ ./test-version
GnuCash 1.9.0 development version
and make check succeeds.

> It's going to call gnucash-env which is going to override the settings
> that gnucash-build-env sets.

It doesn't seem to and it does work.

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20060113/c1d77fe7/attachment.bin


More information about the gnucash-devel mailing list