mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-05 10:27:02 +00:00
utils/lit/lit/TestingConfig.py: Split out environment vars for Win32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138191 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0dac82d92e
commit
7a13cc625b
@ -1,4 +1,5 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
class TestingConfig:
|
||||
""""
|
||||
@ -14,12 +15,16 @@ class TestingConfig:
|
||||
'LD_LIBRARY_PATH' : os.environ.get('LD_LIBRARY_PATH',''),
|
||||
'PATH' : os.pathsep.join(litConfig.path +
|
||||
[os.environ.get('PATH','')]),
|
||||
'PATHEXT' : os.environ.get('PATHEXT',''),
|
||||
'SYSTEMROOT' : os.environ.get('SYSTEMROOT',''),
|
||||
'LLVM_DISABLE_CRT_DEBUG' : '1',
|
||||
'PYTHONUNBUFFERED' : '1',
|
||||
}
|
||||
|
||||
if sys.platform == 'win32':
|
||||
environment.update({
|
||||
'LLVM_DISABLE_CRT_DEBUG' : '1',
|
||||
'PATHEXT' : os.environ.get('PATHEXT',''),
|
||||
'PYTHONUNBUFFERED' : '1',
|
||||
})
|
||||
|
||||
config = TestingConfig(parent,
|
||||
name = '<unnamed>',
|
||||
suffixes = set(),
|
||||
|
Loading…
Reference in New Issue
Block a user