[Lldb-commits] [lldb] r354038 - Don't source local .lldbinit in the test suite

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 14 09:39:19 PST 2019


Author: teemperor
Date: Thu Feb 14 09:39:19 2019
New Revision: 354038

URL: http://llvm.org/viewvc/llvm-project?rev=354038&view=rev
Log:
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

Modified:
    lldb/trunk/lit/helper/toolchain.py

Modified: lldb/trunk/lit/helper/toolchain.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/helper/toolchain.py?rev=354038&r1=354037&r2=354038&view=diff
==============================================================================
--- lldb/trunk/lit/helper/toolchain.py (original)
+++ lldb/trunk/lit/helper/toolchain.py Thu Feb 14 09:39:19 2019
@@ -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,




More information about the lldb-commits mailing list