This is the mail archive of the
gsl-discuss@sourceware.org
mailing list for the GSL project.
Re: test failure -- [was Re: test release gsl-1.8.90.tar.gz]
At Fri, 16 Feb 2007 11:45:39 -0600,
Linas Vepstas wrote:
> > make[2]: Entering directory `/kernels/tools/gsl-1.8.90/vector'
> > FAIL: gsl_vector_char_ispos on negative vector stride=1, N=10 [518]
> > FAIL: gsl_vector_char_isneg on negative vector stride=1, N=10 [519]
> > FAIL: gsl_vector_char_ispos on negative vector stride=2, N=10 [1295]
> > FAIL: gsl_vector_char_isneg on negative vector stride=2, N=10 [1296]
> >
> > I wasn't able to immediately determine what the problem was.
> > Aren't chars always unsigned, and therefore can't be negative?
> > Yet the test case seems to be trying to assign a negative value
> > to a char, unless I misunderstood the testcase.
Thanks, I overlooked that. char is unsigned on Power, signed on
intel. I will make a note to run all the tests with -funsigned-char
as well in future.
--
Brian Gough
Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/