[fpc-devel] Patch for test tstrreal4.pp (Issue 13722)

Marco van de Voort marcov at stack.nl
Tue Sep 7 14:19:10 CEST 2010


In our previous episode, zeljko said:
> Test haven't passed, so I fixed problem (was in currency negative format).
> Changes:
> 1.Use clocale under UNIX so various locales can be tested
> 2.Don't hardcode DecimalSeparator, now it's as it is.
> 3.Fix test unexpected halt on NegCurrFormat in [0, 4] when there's no minus 
> sign but brackets.

Under Windows it still fails with this output:

D:\repo\fpc\tests\test>tstrreal4
0,001
0,00
0,00
-0,00001
-1,00000000000E-05
0,00
0,00
Ç 0,00
0
0,00000000000E+00
0,00
0,00
Ç 0,00
-0,00001
-1,00000000000E-0005
-0,00001
-0,00001
0,00001

D:\repo\fpc\tests\test>echo %ERRORLEVEL%
1

D:\repo\fpc\tests\test>



More information about the fpc-devel mailing list