Add a method to disable the Windows crash / assert dialogs.
authorZachary Turner <zturner@google.com>
Fri, 12 Dec 2014 18:10:52 +0000 (18:10 +0000)
committerZachary Turner <zturner@google.com>
Fri, 12 Dec 2014 18:10:52 +0000 (18:10 +0000)
commit555a7a6ad2267c196993839930e962588a1f62d0
treef478902c29ca17717e54d699b42ec3490122525e
parent59aaa6c06b80bd7285573b407dad4f3e008351de
Add a method to disable the Windows crash / assert dialogs.

When running the test suite on Windows, we can't have Windows popping
up dialogs when LLDB crashes in native code because it will hang
the test suite.  This patch silences those dialogs by checking an
environment variable at startup and configuring Windows based on
its value.

This patch also adds an environment variable to force inferiors to
never spawn in their own console window.  This is useful to prevent
new window spawm when running the test suite.

Reviewed by: Scott Graham

Differential Revision: http://reviews.llvm.org/D6628

llvm-svn: 224137
lldb/.gitignore
lldb/source/Host/windows/ProcessLauncherWindows.cpp
lldb/source/lldb.cpp
lldb/test/CMakeLists.txt
lldb/test/dotest.py