[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gsl] GSL: make check fails
From: |
Puen-Lap . Lee |
Subject: |
Re: [Bug-gsl] GSL: make check fails |
Date: |
Tue, 18 Aug 2009 16:31:42 -0700 |
Brian,
I put some print statements before the the gsl_test in the
gsl-1.12/statistics/test_float_source.c around line 335 and the test
passed. If I comment out the print statement the test failedas before. Am
I inserted the print statements in the right place?
/* Test for IEEE handling - set third element to NaN */
groupa [3*stridea] = GSL_NAN;
{
BASE max = FUNCTION(gsl_stats,max) (groupa, stridea, na);
printf ("\nmax = " OUT_FORMAT, max);
BASE expected = GSL_NAN;
printf ("\nexpected = " OUT_FORMAT, expected);
printf ("\n!insana(max) = %i\n", !isnan(max));
gsl_test (!isnan(max),
NAME(gsl_stats) "_max NaN (" OUT_FORMAT " observed vs "
OUT_FORMAT " expected)",
max, expected);
}
{
BASE min = FUNCTION(gsl_stats,min) (groupa, stridea, na);
printf ("\nmin = " OUT_FORMAT, min);
BASE expected = GSL_NAN;
printf ("\nexpected = " OUT_FORMAT, expected);
printf ("\n!insana(min) = %i\n", !isnan(min));
gsl_test (!isnan(min),
NAME(gsl_stats) "_min NaN (" OUT_FORMAT " observed vs "
OUT_FORMAT " expected)",
min, expected);
}
I did a make clean, make test and then make check-TESTS fron the
statistics directory and the result show:
[statistics] make check-TESTS
max = nan
expected = nan
!insana(max) = 0
min = nan
expected = nan
!insana(min) = 0
max = nan
expected = nan
!insana(max) = 0
min = nan
expected = nan
!insana(min) = 0
max = nan
expected = nan
!insana(max) = 0
min = nan
expected = nan
!insana(min) = 0
max = nan
expected = nan
!insana(max) = 0
min = nan
expected = nan
!insana(min) = 0
max = nan
expected = nan
!insana(max) = 0
min = nan
expected = nan
!insana(min) = 0
max = nan
expected = nan
!insana(max) = 0
min = nan
expected = nan
!insana(min) = 0
max = nan
expected = nan
!insana(max) = 0
min = nan
expected = nan
!insana(min) = 0
max = nan
expected = nan
!insana(max) = 0
min = nan
expected = nan
!insana(min) = 0
max = nan
expected = nan
!insana(max) = 0
min = nan
expected = nan
!insana(min) = 0
Completed [1080/1080]
PASS: test
==================
All 1 tests passed
==================
Brian Gough <address@hidden>
08/17/2009 03:08 AM
To
address@hidden
cc
address@hidden
Subject
Re: [Bug-gsl] GSL: make check fails
At Fri, 14 Aug 2009 08:23:15 -0700,
address@hidden wrote:
> FAIL: gsl_stats_long_double_max NaN (nan observed vs nan expected) [128]
> FAIL: gsl_stats_long_double_min NaN (nan observed vs nan expected) [129]
> FAIL: gsl_stats_long_double_max NaN (nan observed vs nan expected) [479]
> FAIL: gsl_stats_long_double_min NaN (nan observed vs nan expected) [480]
> FAIL: gsl_stats_long_double_max NaN (nan observed vs nan expected) [830]
> FAIL: gsl_stats_long_double_min NaN (nan observed vs nan expected) [831]
Thanks for the information. Is it possible for you to look at that
specific test and see why it is failing? (either with some print
statements or in the debugger).
--
Brian Gough
- [Bug-gsl] GSL: make check fails, Puen-Lap . Lee, 2009/08/06
- Re: [Bug-gsl] GSL: make check fails, Brian Gough, 2009/08/13
- Re: [Bug-gsl] GSL: make check fails, Puen-Lap . Lee, 2009/08/14
- Re: [Bug-gsl] GSL: make check fails, Brian Gough, 2009/08/17
- Re: [Bug-gsl] GSL: make check fails,
Puen-Lap . Lee <=
- Re: [Bug-gsl] GSL: make check fails, Gregery Barton, 2009/08/18
- Re: [Bug-gsl] GSL: make check fails, Brian Gough, 2009/08/19
- Re: [Bug-gsl] GSL: make check fails, Gregery Barton, 2009/08/19
- Re: [Bug-gsl] GSL: make check fails, Brian Gough, 2009/08/20
- Re: [Bug-gsl] GSL: make check fails, Brian Gough, 2009/08/19