[Mono-dev] System.MathTest.TestIEEERemainder fails

Zoltan Varga vargaz at gmail.com
Tue Jun 10 13:36:36 EDT 2008


Hi,

 You can check the current status of our test suite on sparc on our build farm:

http://mono.ximian.com/monobuild/python/monobuild.py/packagestatus?platform=sunos-10-sparc&package=mono&HEAD_or_RELEASE=HEAD

the sparc buildbot seems to be broken right now, so it won't work, but
it will get
fixed hopefully.

                                         Zoltan

On Tue, Jun 10, 2008 at 1:22 PM,  <nataraj.ramaswamy at wipro.com> wrote:
> Hi Zoltan,
> Thanks for the immediate response. It would be really helpful if there
> are any links/references to recent test results for Sparc (version 1.9).
> Or in other words, is there a possibility to know the list of test
> failures, known issues on Sparc.
>
> Thanks & regards,
> Nataraj
>
>
> -----Original Message-----
> From: Zoltan Varga [mailto:vargaz at gmail.com]
> Sent: Tuesday, June 10, 2008 4:20 PM
> To: Nataraj Ramaswamy (WT01 - Computing, Storage & Software Products)
> Cc: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-dev] System.MathTest.TestIEEERemainder fails
>
> Hi,
>
> This is now fixed in SVN using your suggestion. Btw, some of our tests
> do fail on sparc, this is not a problem for most applications tough.
>
>                               Zoltan
>
> 2008/6/10  <nataraj.ramaswamy at wipro.com>:
>> Hi,
>> We have been able to successfully build Mono on Solaris 7 sparc (32
> bit).
>>
>> When we tried to execute the Class Library test suites, some of the
>> test cases were failing.
>>
>> We need your expert inputs/suggestions on the following failure:
>>
>> Under mcs/class/corlib, MonoTests.System.MathTest.TestIEEERemainder
>> fails with the error message:
>> Negative Dividend expected:<-9223372036854775808>  but was:<128>
>>   at MonoTests.System.MathTest.TestIEEERemainder () [0x000bf] in
>> /mono_sol7/mono-1.9/mcs/class/corlib/Test/System/MathTest.cs:414
>>   at (wrapper managed-to-native)
>> System.Reflection.MonoMethod:InternalInvoke
>> (object,object[])
>>   at System.Reflection.MonoMethod.Invoke (System.Object obj,
>> BindingFlags invokeAttr, System.Reflection.Binder binder,
>> System.Object[] parameters, System.Globalization.CultureInfo culture)
>> [0x0003f] in
>> /mono_sol7/mono-1.9/mcs/class/corlib/System.Reflection/MonoMethod.cs:1
>> 49
>>
>> On analysing further, it is observed that:
>> - In System/Math.cs, IEEERemainder uses InternalInt64BitsToDouble.
>> Changing this to Int64BitsToDouble gave the expected result and the
> test case passed.
>> - InternalInt64BitsToDouble() uses SwappableToDouble() under
>> System/BitConverter.cs . Here it gets into (!IsLittleEndian) which
>> fills the value in the big endian (reverse) order whereas
>> Int64BitsToDouble uses
>> ToDouble() which doesnot  perform this conversion based on endianness
>> (!IsLittleEndian).
>>
>> We would like to know your valuable inputs on how to  address this
>> issue for Solaris 7 sparc.
>> Please let us know whether it would be  correct to use
>> Int64BitsToDouble instead of InternalInt64BitsToDouble (conditionally
>> built for Solaris 7 sparc).
>>
>> Thanks & regards,
>> Nataraj
>>
>>
>>
>>
>>
>> Please do not print this email unless it is absolutely necessary.
>>
>> The information contained in this electronic message and any
>> attachments to this message are intended for the exclusive use of the
>> addressee(s) and may contain proprietary, confidential or privileged
>> information. If you are not the intended recipient, you should not
>> disseminate, distribute or copy this e-mail. Please notify the sender
>> immediately and destroy all copies of this message and any
> attachments.
>>
>> WARNING: Computer viruses can be transmitted via email. The recipient
>> should check this email and any attachments for the presence of
>> viruses. The company accepts no liability for any damage caused by any
>
>> virus transmitted by this email.
>>
>> www.wipro.com
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
>
> www.wipro.com
>


More information about the Mono-devel-list mailing list