[dmd-internals] test failures

Steve Schveighoffer schveiguy at yahoo.com
Thu May 19 04:45:33 PDT 2011


How is this related to the size of std.datetime?  It's pretty clear the failure is on line 842.

Just isolate that line and its related setup, and you should find the minimal test case.  Or am I missing something?


-Steve


>________________________________
>From: Don Clugston <dclugston at googlemail.com>
>To: Discuss the internals of DMD <dmd-internals at puremagic.com>
>Sent: Thursday, May 19, 2011 3:43 AM
>Subject: Re: [dmd-internals] test failures
>
>That change fixed some awful CTFE wrong-code bugs, so it is possible
>that some erroneous code used to pass.
>We need a reduced test case. And once again, the enormous size of
>std.datetime hurts us.
>
>
>On 19 May 2011 09:18, Brad Roberts <braddr at puremagic.com> 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(-)
>>
>> Later,
>> Brad
>> _______________________________________________
>> dmd-internals mailing list
>> dmd-internals at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/dmd-internals
>>
>_______________________________________________
>dmd-internals mailing list
>dmd-internals at puremagic.com
>http://lists.puremagic.com/mailman/listinfo/dmd-internals
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-internals/attachments/20110519/d6ae364b/attachment-0001.html>


More information about the dmd-internals mailing list