[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: My £0.02 worth



Ales Hvezda wrote:
> Hi Dan,
> 
> [snip]
>> right now.  I'd be curious to know how it works for someone on a 64-bit 
>> linux and also something like darwin.
> 
> 
> 	I just built guile-1.8.1 on an Opteron:
> 2.6.18-4-amd64 #1 SMP Fri May 4 00:37:33 UTC 2007 x86_64 GNU/Linux
> 
> 	and one of the tests fails:
> 
> Testing /home/geda/test/guile-1.8.1/pre-inst-guile ...
> with GUILE_LOAD_PATH=/home/geda/test/guile-1.8.1/test-suite
> Running alist.test
> Running and-let-star.test
> Running arbiters.test
> Running bit-operations.test
> Running c-api.test
> Running chars.test
> Running common-list.test
> Running continuations.test
> Running elisp.test
> ERROR: Stack overflow
> FAIL: check-guile
> ===================
> 1 of 1 tests failed
> ===================
> make[2]: *** [check-TESTS] Error 1
> 
> but running make check in test-suite completes without any errors.  How 
> are you running the test suite?
> 
> 								-Ales
> 

interesting.  When you get something like a segfault or stack overflow, 
the rest of the testsuite will not be run.  There are a whole bunch of 
other tests that you're not even making it to.  There should be 67 lines 
where you have 9.

You have to run 'make check' at the top level of the source tree. 
Alternatively, just run ./check-guile from the top level of the source 
tree.  You can run individual tests with ./check-guile elisp.test for 
example.

You can also remove the offending test (elisp.test) in your case from 
the test-suite/tests directory and that one will be skipped.

I have 2 tests which segfault on my alpha.  The solaris box makes it 
through all of the tests although it fails some.

I built guile-1.8.1 on a linux x86 box (32-bit os, not 64-bit) and it 
fully passes the testsuite.  I'm not trying to pick on guile in 
particular when I say that this is not atypical.  I've seen way way too 
much software that is developed on 32-bit linux, intel arch and 
everything else is untested and often times broken.  One trend is that 
things like compilers seem to be more tied to the os and hardware 
platform and are often times more problematic.  In any case, I'm working 
on getting guile going properly on alpha and sparc.

-Dan



_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev