runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Some tests are failing when decimal separator is not a dot

Open krwq opened this issue 11 years ago • 6 comments

Some XML tests are failing if decimal separator is not a dot.

Example repro:

  • Start->Run (WinKey + R) -> intl.cpl
  • Change format (no need to change locale) to Ukrainian (Ukraine)
  • build /p:WithCategories=OuterLoop

Example error:

TestCase:WriteFullEndElement -
ERROR: RECA
Expected: -4582,24
Actual  : -4582.24
        elem.WriteValue(floatToUri)

krwq avatar Apr 23 '15 23:04 krwq

I guess this one can be closed from dotnet/corefx#1592?

khellang avatar May 12 '15 13:05 khellang

@khellang no, xml tests not fixed. dotnet/corefx#1592 fixes only biginteger tests

Maxwe11 avatar May 12 '15 13:05 Maxwe11

@krwq I cant reproduce this, is this somehow fixed?

format changed to Ukrainian (Ukraine) and C:\corefx\src\System.Xml.ReaderWriter\tests\XmlConvert>msbuild /t:BuildAndTest /p:xunitoptions="-trait category=Outerloop

Just some warnings, but no error

ctyar avatar Jul 13 '16 09:07 ctyar

@ctyar, not sure if that runs OuterLoop - try:

msbuild /t:BuildAndTest /p:OuterLoop=true

there is a chance it actually is fixed, I haven't tested it

krwq avatar Jul 14 '16 20:07 krwq

@krwq I tried that too, nothing fails in System.Xml.ReaderWriter\tests\XmlConvert but this was the only project I tried(based on your error sample)

ctyar avatar Jul 15 '16 07:07 ctyar

Fixed by https://github.com/dotnet/corefx/issues/14462

sepidehkh avatar Dec 16 '16 23:12 sepidehkh