Thread overview | |||||
---|---|---|---|---|---|
|
February 20, 2011 [Issue 5629] New: core.time unittest disabled | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=5629 Summary: core.time unittest disabled Product: D Version: D2 Platform: x86 OS/Version: FreeBSD Status: NEW Severity: major Priority: P2 Component: druntime AssignedTo: nobody@puremagic.com ReportedBy: braddr@puremagic.com --- Comment #0 from Brad Roberts <braddr@puremagic.com> 2011-02-20 14:46:32 PST --- Testing obj/core/time core.exception.AssertError@core.time(1544): unittest failure -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 21, 2011 [Issue 5629] core.time unittest disabled | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brad Roberts | http://d.puremagic.com/issues/show_bug.cgi?id=5629 --- Comment #1 from Brad Roberts <braddr@puremagic.com> 2011-02-20 18:26:33 PST --- in TickDuration's static this. freebsd has clock_gettime, so it uses the clock_getres api. The results: ts.tv_nsec = 280, ticksPerSec = 3571428 Later, during the unit test: auto t = TickDuration.from!"nsecs"(1_000_000_000); assert(t.nsecs == 1_000_000_000); t.nsecs is slightly less: t.nsecs = 999999840 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 30, 2011 [Issue 5629] core.time unittest disabled | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brad Roberts | http://d.puremagic.com/issues/show_bug.cgi?id=5629 Jonathan M Davis <jmdavisProg@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |jmdavisProg@gmx.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation