Bug 16227 – std.numeric unit tests fail when run in isolation
Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2016-07-02T09:16:00Z
Last change time
2016-12-27T13:45:42Z
Assigned to
nobody
Creator
atila.neves
Comments
Comment #0 by atila.neves — 2016-07-02T09:16:00Z
make -f posix.mak unittest-debug # fine
make -f posix.mak std/numeric.test
core.exception.AssertError@std/numeric.d(1955): unittest failure
Comment #1 by tjfryan — 2016-07-12T07:35:47Z
Throwing `writeln(!e);` before the `if (!e) continue;` on line 1943 of numeric.d somehow got the unittest to pass. What's more interesting is that every time the continue is taken, !e is reported to be false.