[dmd-internals] test failures

Jonathan M Davis jmdavisProg at gmx.com
Thu May 19 00:45:37 PDT 2011


On 2011-05-19 00:18, Brad Roberts wrote:
> core.exception.AssertError at std/datetime.d(842): _assertPred!("opCmp", "<")
> failed: [-1999-Jan-01 23:59:59] == [-1999-Jan-01 23:59:59].
> 
> Nothing changed near the phobos portion of this code, and it's been failing
> since this set of changes on all but windows.  The only reason windows
> isn't failing, I suspect, is that a bunch of the datetime tests are
> versioned out.
> 
> http://d.puremagic.com/test-results/test_data.ghtml?dataid=62797
> 
> From git://github.com/D-Programming-Language/dmd
>    587fa66..3888ff0  master     -> origin/master
> Updating 587fa66..3888ff0
> Fast-forward
>  src/constfold.c              |   12 +-
>  src/interpret.c              |  978
> ++++++++++++++++++++---------------------- test/compilable/interpret3.d | 
> 240 +++++++++++
>  3 files changed, 712 insertions(+), 518 deletions(-)

At present, I believe that _all_ of std.datetime's unit tests have been 
versioned out on Windows due to 
http://d.puremagic.com/issues/show_bug.cgi?id=5454 . I'm hoping that once I've 
finished reworking std.datetime's unit tests, we'll luck out and 5454 won't 
cause it to run out of memory anymore, but we'll have to wait and see. They 
passed last time I ran the tests separately from the rest of Phobos though 
(which was before committing the last set of changes to std.datetime), so they 
should still be passing as long as dmd doesn't regress.

- Jonathan M Davis


More information about the dmd-internals mailing list