summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-02-14 17:39:19 +0000
committerRaphael Isemann <teemperor@gmail.com>2019-02-14 17:39:19 +0000
commita2a6acf3f0cf0091d5f898e272567032826ef8d8 (patch)
tree033fa799eac2054eed8d26d64df7804fa7fe8c4c /lldb
parentdb85fdd11595ef06db113820a97e426cfdd5a27b (diff)
downloadbcm5719-llvm-a2a6acf3f0cf0091d5f898e272567032826ef8d8.tar.gz
bcm5719-llvm-a2a6acf3f0cf0091d5f898e272567032826ef8d8.zip
Don't source local .lldbinit in the test suite
Summary: As suggested by Pavel, we shouldn't let our tests parse the local .lldbinit to prevent random test failures due to changed settings. Fixes Minidump/Windows/Sigsegv/sigsegv.test (and probably others too). Reviewers: labath, serge-sans-paille Reviewed By: labath Subscribers: abidh, lldb-commits, zturner Tags: #lldb Differential Revision: https://reviews.llvm.org/D58235 llvm-svn: 354038
Diffstat (limited to 'lldb')
-rw-r--r--lldb/lit/helper/toolchain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/lit/helper/toolchain.py b/lldb/lit/helper/toolchain.py
index c447ac36bc5..381296d01ab 100644
--- a/lldb/lit/helper/toolchain.py
+++ b/lldb/lit/helper/toolchain.py
@@ -35,7 +35,7 @@ def use_lldb_substitutions(config):
primary_tools = [
ToolSubst('%lldb',
command=FindTool('lldb'),
- extra_args=['-S',
+ extra_args=['--no-lldbinit', '-S',
os.path.join(config.test_source_root,
'lit-lldb-init')]),
lldbmi,
OpenPOWER on IntegriCloud