TEST fails on NetBSD

Hal Murray hmurray at megapathdsl.net
Mon Apr 10 23:15:08 UTC 2017


Anybody recognize this?

TEST(lfpfunc, FDF_RoundTrip)../../tests/libntp/lfpfunc.c:264:TEST(lfpfunc, 
FDF_R
oundTrip):FAIL: Values Not Within Delta

Inserting a printf:
                double d = lfptod(temp);
printf("## %f %f\n", eps(op2), d);
                TEST_ASSERT_DOUBLE_WITHIN(eps(op2), 0.0, fabs(d));

Now I get:
TEST(lfpfunc, FDF_RoundTrip)## 0.000000 0.000000
## 0.000000 0.000000
## 0.000000 0.000000
## 0.000000 0.000000
## 0.000000 2147482624.000000 
../../tests/libntp/lfpfunc.c:265:TEST(lfpfunc, FDF_RoundTrip):FAIL: Values 
Not W
ithin Delta



-- 
These are my opinions.  I hate spam.





More information about the devel mailing list