llvm.org GIT mirror llvm / 651ffc7
Lit: LIT_PRESERVES_TMP should be aware of TMPDIR, too. TMPDIR is preferred in Unix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192891 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 5 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
3434 'TMP' : os.environ.get('TMP',''),
3535 })
3636
37 # The option to preserve TMP (and TEMP).
37 # The option to preserve TEMP, TMP, and TMPDIR.
3838 # This is intended to check how many temporary files would be generated
39 # in automated builders.
39 # (and be not cleaned up) in automated builders.
4040 if os.environ.has_key('LIT_PRESERVES_TMP'):
4141 environment.update({
4242 'TEMP' : os.environ.get('TEMP',''),
4343 'TMP' : os.environ.get('TMP',''),
44 'TMPDIR' : os.environ.get('TMPDIR',''),
4445 })
4546
4647 # Set the default available features based on the LitConfig.