aboutsummaryrefslogtreecommitdiffstats
path: root/utils/lit/TestingConfig.py
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-22 09:50:28 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-22 09:50:28 +0000
commitdf3388492bc2bfc73b3e0195693e2f67f10dcf52 (patch)
tree5e1e37a23d76baf85b3da8897792149c127a24be /utils/lit/TestingConfig.py
parentdace0ed8c7b33056c533a7e878d600f7eec5fd1c (diff)
downloadexternal_llvm-df3388492bc2bfc73b3e0195693e2f67f10dcf52.zip
external_llvm-df3388492bc2bfc73b3e0195693e2f67f10dcf52.tar.gz
external_llvm-df3388492bc2bfc73b3e0195693e2f67f10dcf52.tar.bz2
Add a magic LLVM_DISABLE_CRT_DEBUG environment variable which we check in RegisterHandler and use to disable the Win32 crash dialogs. These are a major blocker to any kind of automated testing.
Also, tweak the 'lit' test runner to set this variable unconditionally. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82537 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit/TestingConfig.py')
-rw-r--r--utils/lit/TestingConfig.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/lit/TestingConfig.py b/utils/lit/TestingConfig.py
index bfe23b2..e4874d7 100644
--- a/utils/lit/TestingConfig.py
+++ b/utils/lit/TestingConfig.py
@@ -13,6 +13,7 @@ class TestingConfig:
'PATH' : os.pathsep.join(litConfig.path +
[os.environ.get('PATH','')]),
'SYSTEMROOT' : os.environ.get('SYSTEMROOT',''),
+ 'LLVM_DISABLE_CRT_DEBUG' : '1',
}
config = TestingConfig(parent,