TEST fails on NetBSD

Eric S. Raymond esr at thyrsus.com
Mon Apr 10 23:51:06 UTC 2017


Hal Murray <hmurray at megapathdsl.net>:
> 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

Good target for a bisect. I have a suspicion about what you'll find, but
I'll shut up lest I mistakenly criticize the wrong dev.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

Please consider contributing to my Patreon page at https://www.patreon.com/esr
so I can keep the invisible wheels of the Internet turning. Give generously -
the civilization you save might be your own.



More information about the devel mailing list