April 27, 2015 [phobos] [D-Programming-Language/phobos] f4067c: Add workaround in std.datetime unit tests for bug ... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: f4067cf33df4896332e767201309d620f0144601 https://github.com/D-Programming-Language/phobos/commit/f4067cf33df4896332e767201309d620f0144601 Author: Jonathan M Davis <jmdavisProg@gmx.com> Date: 2015-04-26 (Sun, 26 Apr 2015) Changed paths: M std/datetime.d Log Message: ----------- Add workaround in std.datetime unit tests for bug in FreeBSD 9+. The std.datetime unit tests currently fail on FreeBSD 9+ because of a bug in FreeBSD itself (which it looks like Martin reported): https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168862 tzname[] is set incorrectly in many time zones - including America/Los_Angeles, which is what's causing the unit test failures in std.datetime. Sadly, the bug report has been around for almost 3 years without the bug getting fixed (with the report including a patch no less), so I don't know how long it will take them, and it just seems better to version out the test in FreeBSD for now, since it's potentially a blocker for anyone developing Phobos on FreeBSD. The autotester doesn't exhibit the problem, because it's using FreeBSD 8.x. Commit: 0b0cb7ff3921da41e488dd37cb8ec400cbfd7410 https://github.com/D-Programming-Language/phobos/commit/0b0cb7ff3921da41e488dd37cb8ec400cbfd7410 Author: Steven Schveighoffer <schveiguy@yahoo.com> Date: 2015-04-27 (Mon, 27 Apr 2015) Changed paths: M std/datetime.d Log Message: ----------- Merge pull request #3235 from jmdavis/freebsd_workaround Add workaround in std.datetime unit tests for bug in FreeBSD 9+. Compare: https://github.com/D-Programming-Language/phobos/compare/9ec468ee32fe...0b0cb7ff3921 |
Copyright © 1999-2021 by the D Language Foundation