[llvm-commits] Fix floating point numbers in tests on MinGW

Danil Malyshev dmalyshev at accesssoftek.com
Thu Feb 3 13:29:30 PST 2011


Hello everyone,

I think I have found a better way to address the "Bug 6745 - .ll output is different on windows" problem.
The tests always expect 2 digits exponent, which is wrong for Windows. So let's force it to be that way by defining PRINTF_EXPONENT_DIGITS environment variable = 2.
See http://sourceforge.net/project/shownotes.php?release_id=24832 for more details.

Please review the attached patch.

The patch has been tested with WinXP, Win7, and Ubuntu.

Thank you,
Danil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110203/edaea05f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-scientific-02.diff
Type: application/octet-stream
Size: 519 bytes
Desc: fix-scientific-02.diff
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110203/edaea05f/attachment.obj>


More information about the llvm-commits mailing list