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


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')
 
 
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to