diff options
Diffstat (limited to 'utils/lit')
-rw-r--r-- | utils/lit/lit/TestingConfig.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py index d541539690..748cf1f6b8 100644 --- a/utils/lit/lit/TestingConfig.py +++ b/utils/lit/lit/TestingConfig.py @@ -35,6 +35,15 @@ class TestingConfig: 'TMP' : os.environ.get('TMP',''), }) + # The option to preserve TMP (and TEMP). + # This is intended to check how many temporary files would be generated + # in automated builders. + if os.environ.has_key('LIT_PRESERVES_TMP'): + environment.update({ + 'TEMP' : os.environ.get('TEMP',''), + 'TMP' : os.environ.get('TMP',''), + }) + # Set the default available features based on the LitConfig. available_features = [] if litConfig.useValgrind: |