On Mon, Jun 27, 2011 at 8:49 AM, xclerc <xavier.cl...@inria.fr> wrote:
>
> Le 27 juin 2011 à 12:29, Stéphane Glondu a écrit :
>
>> Le 16/06/2011 19:59, Serge Ziryukin a écrit :
>>> [...]
>>>> bin_prot-1.3.1.tar.gz
>>> [...]
>>>
>>> Did you also run 'make test' on bin_prot?
>>> It fails for me:
>>>
>>> I: Running command 
>>> '/Users/ftrvxmtrx/temp/sandbox/bin_prot-1.3.1/_build/lib_test/test_runner'
>>> ........................F................................F.........
>>> ==============================================================================
>>> Failure: 1:Bin_prot_c:24:bigstring
>>>
>>> OUnit: read_bigstring [| ... |]: returned wrong result
>>> ------------------------------------------------------------------------------
>>> ==============================================================================
>>> Failure: 0:Bin_prot_ml:24:bigstring
>>>
>>> OUnit: read_bigstring [| ... |]: returned wrong result
>>> ------------------------------------------------------------------------------
>>> Ran: 67 tests in: 0.04 seconds.
>>> FAILED: Cases: 67 Tried: 67 Errors: 0 Failures: 2 Skip:0 Todo:0
>>
>> I can reproduce this error, and it appears with this new OCaml version (and 
>> not with OCaml 3.12.0).
>
> Had quite a hard time to pinpoint the problem, but finally got it.
> The tests are failing because a try is made to compare two big arrays with 
> different layouts.
> It used to be accepted by the big array compare function, but now only big 
> arrays with the
> same kind and layout can be compared [1].
>
>
> Regards,
>
> Xavier Clerc
>
>
> [1] cf. 
> http://caml.inria.fr/cgi-bin/viewcvs.cgi/ocaml/version/3.12/otherlibs/bigarray/bigarray_stubs.c?rev=11037&r1=10496&r2=11037
>
>
>
Thank you for every one who looked into it.

We (Janestreet) are not using 3.12.1 yet. We'll try to have a test
setup ASAP and issue a bug-fix release.
Xavier: your work will be very helpful in squashing that bug; thank
you very much.

Till
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa-roc.inria.fr/wws/info/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
>


-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to