Opened 8 years ago

Closed 5 years ago

#10570 closed Bugs (fixed)

1.56.0 date_time/test/testc_local_adjustor broken for 32-bit Posix builds

Reported by: nat@… Owned by: James E. King, III
Milestone: Boost 1.67.0 Component: date_time
Version: Boost 1.56.0 Severity: Regression
Keywords: Cc:

Description

When building with address-model=32 on Mac and Linux, the date_time test testc_local_adjustor fails with output as follows:

./b2 variant=release address-model=32 architecture=x86 libs/date_time/testtestc_local_adjustor ...

BEGIN OUTPUT

UTC <--> TZ Setting of Machine -- No DST 2002-Jan-01 02:00:00.005000000 LOCAL is 2002-Jan-01 07:00:00.005000000 UTC time A difference of: -05:00:00 UTC <--> TZ Setting of Machine -- In DST 2002-May-01 01:00:00.005000000 LOCAL is 2002-May-01 05:00:00.005000000 UTC time A difference of: -04:00:00 UTC <--> TZ Setting of Machine -- In DST 1904-Mar-25 17:31:44.005000000 LOCAL is 2040-May-01 05:00:00.005000000 UTC time a difference of: -1193051:28:16 Pass :: td1 isn't too low Pass :: td1 isn't too high Pass :: td2 isn't too low Pass :: td2 isn't too high FAIL :: td3 isn't too low Pass :: td3 isn't too high Pass :: td1 and td2 are close FAIL :: td2 and td3 are close FAIL :: td1 and td3 are close 9 Tests Executed: 3 FAILURES

EXIT STATUS: 3

END OUTPUT

The same test passes with Boost 1.55.0.

It works with address-model=64. It works on Windows (VS 2013) with both address-model=32 and address-model=64.

Change History (3)

comment:1 by anonymous, 8 years ago

Trying to improve formatting of error output, since I can't seem to edit the previous description:

====== BEGIN OUTPUT ======
UTC <--> TZ Setting of Machine -- No DST
2002-Jan-01 02:00:00.005000000 LOCAL is 2002-Jan-01 07:00:00.005000000 UTC time 
A difference of: -05:00:00
UTC <--> TZ Setting of Machine -- In DST
2002-May-01 01:00:00.005000000 LOCAL is 2002-May-01 05:00:00.005000000 UTC time 
A difference of: -04:00:00
UTC <--> TZ Setting of Machine -- In DST
1904-Mar-25 17:31:44.005000000 LOCAL is 2040-May-01 05:00:00.005000000 UTC time 
a difference of: -1193051:28:16
Pass :: td1 isn't too low 
Pass :: td1 isn't too high 
Pass :: td2 isn't too low 
Pass :: td2 isn't too high 
FAIL :: td3 isn't too low 
Pass :: td3 isn't too high 
Pass :: td1 and td2 are close 
FAIL :: td2 and td3 are close 
FAIL :: td1 and td3 are close 
9 Tests Executed: 3 FAILURES

EXIT STATUS: 3
====== END OUTPUT ======

comment:2 by James E. King, III, 5 years ago

Milestone: To Be DeterminedBoost 1.67.0
Owner: changed from az_sw_dude to James E. King, III
Status: newassigned

comment:3 by James E. King, III, 5 years ago

Resolution: fixed
Status: assignedclosed

Fix merged to master; resolved.

Note: See TracTickets for help on using tickets.