On Sun, Jan 22, 2006 at 09:27:21AM -0500, Derek Atkins wrote:
> Quoting Chris Shoemaker <[EMAIL PROTECTED]>:
> 
> >The tests pass for me without this.   What's the error you see?
> 
> Sorry, it was late last night when I replied.  It's obviously easy to
> recreate the error by overriding TESTS_ENVIRONMENT:
> 
> [EMAIL PROTECTED] build]$ make -C src/bin/test TESTS_ENVIRONMENT= check
> make: Entering directory
> `/home/warlord/src/gnucash/gnucash-svn/build/src/bin/test'
> make  check-TESTS
> make[1]: Entering directory
> `/home/warlord/src/gnucash/gnucash-svn/build/src/bin/test'
> GnuCash 1.9.0 development version
> built 2006-01-21 from r12924:12928
> PASS: test-version
> ./test-run-script: line 2: exec: gnucash-run-script: not found
> FAIL: test-run-script
> 
> So, as you can see, it's failing to find gnucash-run-script.  Perhaps
> it's working for you because $prefix/bin is already in your path and
> you have a copy installed?

Ok, that explains it.  It was working for me because it was actually
finding the 1.8.12 version of gnucash-run-script in the path!  Oops.

> I'll also note that this test will fail if "guile" isn't in your path,
> so we might want to add "../overrides" into the path as well so we
> get the proper guile path.

This test is just obsolete, or at least pretty close to it.  We don't
want to depend on finding 'guile' in the path and we don't need to
test the ability to find and run guile.  We don't use it.  I don't
think we even use gnucash-run-script.

If any of this isn't true today, I think it will be one day soon.

-chris
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to