[Lldb-commits] [PATCH] D58235: Don't source local .lldbinit in the test suite

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 14 06:51:11 PST 2019


teemperor created this revision.
teemperor added a reviewer: labath.
Herald added subscribers: lldb-commits, abidh.
Herald added a reviewer: serge-sans-paille.
Herald added a project: LLDB.

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).


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D58235

Files:
  lldb/lit/helper/toolchain.py


Index: lldb/lit/helper/toolchain.py
===================================================================
--- lldb/lit/helper/toolchain.py
+++ lldb/lit/helper/toolchain.py
@@ -18,7 +18,7 @@
     dsargs = [] if platform.system() in ['Darwin'] else ['gdbserver']
     lldbmi = ToolSubst('%lldbmi',
                        command=FindTool('lldb-mi'),
-                       extra_args=['--synchronous'],
+                       extra_args=['--synchronous', '--no-lldbinit'],
                        unresolved='ignore')
 
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58235.186835.patch
Type: text/x-patch
Size: 521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190214/99a0f3f5/attachment.bin>


More information about the lldb-commits mailing list