gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] Broken Regressions


From: Eric S. Raymond
Subject: Re: [gpsd-dev] Broken Regressions
Date: Mon, 8 Apr 2019 17:20:27 -0400
User-agent: Mutt/1.10.1 (2018-07-13)

Fred Wright <address@hidden>:
> It looks like GPSD didn't handle the week rollover as well as most of the
> receivers did, since there are now ten failing regression tests plus a whole
> bunch of "gpsd:ERROR: date is negative!" messages.  Fortunately, I think
> this only affects the tests and not the normal realtime operation.
> A couple of spot checks look like it's hallucinating week-rollover issues on
> some tests.

Yes, this was expected - I even lrft a comment somewhere noting that the
test suite needs to be rebuilt after an era rollover.  There is no help for
this, it is an unpresent and inevitable consequence of the way the GPS
calendar was designed.

> To make matters worse, the BUILD_WEEK and BUILD_ROLLOVERS parameters, which
> are presumably intended to define the week-number handling, aren't even used
> anywhere.  Though any code that thinks in terms of two separate parameters
> is probably wrong, anyway. :-)  That means that one can't fix the behavior
> by tweaking those parameters, nor can one grep for them to find the
> offending code.

I don't remember creating either of those.  Gary, I think I remember you
muttering about reproducible builds a while back - were these partt of
that effort?
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]