llvm.org GIT mirror llvm / 9f64a56
Lit: Introduce an environment variable, $LIT_PRESERVES_TMP, to preserve TMP (and TEMP). This is intended to check how many temporary files would be generated in automated builders. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192887 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 5 years ago
1 changed file(s) with 9 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
3030 'INCLUDE' : os.environ.get('INCLUDE',''),
3131 'PATHEXT' : os.environ.get('PATHEXT',''),
3232 'PYTHONUNBUFFERED' : '1',
33 'TEMP' : os.environ.get('TEMP',''),
34 'TMP' : os.environ.get('TMP',''),
35 })
36
37 # The option to preserve TMP (and TEMP).
38 # This is intended to check how many temporary files would be generated
39 # in automated builders.
40 if os.environ.has_key('LIT_PRESERVES_TMP'):
41 environment.update({
3342 'TEMP' : os.environ.get('TEMP',''),
3443 'TMP' : os.environ.get('TMP',''),
3544 })