[llvm-commits] [llvm] r125725 - /llvm/trunk/utils/lit/lit/TestingConfig.py
NAKAMURA Takumi
geek4civic at gmail.com
Wed Feb 16 21:56:42 PST 2011
Author: chapuni
Date: Wed Feb 16 23:56:41 2011
New Revision: 125725
URL: http://llvm.org/viewvc/llvm-project?rev=125725&view=rev
Log:
lit/TestingConfig.py: Add the environment variable PRINTF_EXPONENT_DIGITS as workaround [PR6745] for mingw's tests. Danil Malyshev suggested this.
FIXME: It does not improve MSVC's issue.
[Danil Malyshev] Defining PRINTF_EXPONENT_DIGITS env is the suggested way to make MinGW ANSI/POSIX compatible. This is not only about the case we are discussing, but in general, I'd like to have explicitly defined compatibility mode for all the tests running on MinGW.
Modified:
llvm/trunk/utils/lit/lit/TestingConfig.py
Modified: llvm/trunk/utils/lit/lit/TestingConfig.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/TestingConfig.py?rev=125725&r1=125724&r2=125725&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/TestingConfig.py (original)
+++ llvm/trunk/utils/lit/lit/TestingConfig.py Wed Feb 16 23:56:41 2011
@@ -17,6 +17,7 @@
'PATHEXT' : os.environ.get('PATHEXT',''),
'SYSTEMROOT' : os.environ.get('SYSTEMROOT',''),
'LLVM_DISABLE_CRT_DEBUG' : '1',
+ 'PRINTF_EXPONENT_DIGITS' : '2',
}
config = TestingConfig(parent,
More information about the llvm-commits
mailing list