Timezone problem with make check?

John Ralls jralls at ceridwen.fremont.ca.us
Thu May 11 18:08:14 EDT 2017


> On May 11, 2017, at 1:59 PM, Aaron Laws <dartme18 at gmail.com> wrote:
> 
> I am running ninja check on master and two tests fail, both having to do
> with time. One is test-gnc-date.c, and I drilled down. The line that fails
> is 721:
> 
> g_assert_cmpint (na.tv_sec, ==, ra.tv_sec);
> 
> na is 739299600, and ra is 739296000. na - ra = 3600 which is one hour.
> 
> I'm hoping someone already knows what's going on. I'll look at the other
> test, too.

Are you setting TZ=America/Los_Angeles?

Regards,
John Ralls




More information about the gnucash-devel mailing list