[Lldb-commits] [lldb] r359492 - [lit] Fix the timeout.

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 29 12:55:49 PDT 2019


Author: jdevlieghere
Date: Mon Apr 29 12:55:49 2019
New Revision: 359492

URL: http://llvm.org/viewvc/llvm-project?rev=359492&view=rev
Log:
[lit] Fix the timeout.

The timeout wasn't working because it's a property of the lit
configuration, not of the configuration in lit.site.cfg. This sets the
property for the correct object.

Modified:
    lldb/trunk/lit/lit.cfg.py
    lldb/trunk/lit/lit.site.cfg.py.in

Modified: lldb/trunk/lit/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/lit.cfg.py?rev=359492&r1=359491&r2=359492&view=diff
==============================================================================
--- lldb/trunk/lit/lit.cfg.py (original)
+++ lldb/trunk/lit/lit.cfg.py Mon Apr 29 12:55:49 2019
@@ -74,6 +74,9 @@ for i in ['module-cache-clang', 'module-
         print("Deleting module cache at %s."%cachedir)
         shutil.rmtree(cachedir)
 
+# Set a default  timeout of 10 minutes.
+lit_config.maxIndividualTestTime = 600
+
 # If running tests natively, check for CPU features needed for some tests.
 
 if 'native' in config.available_features:

Modified: lldb/trunk/lit/lit.site.cfg.py.in
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/lit.site.cfg.py.in?rev=359492&r1=359491&r2=359492&view=diff
==============================================================================
--- lldb/trunk/lit/lit.site.cfg.py.in (original)
+++ lldb/trunk/lit/lit.site.cfg.py.in Mon Apr 29 12:55:49 2019
@@ -20,7 +20,6 @@ config.lldb_bitness = 64 if @LLDB_IS_64_
 config.lldb_disable_python = @LLDB_DISABLE_PYTHON@
 config.have_lldb_instr = @LLDB_TOOL_LLDB_INSTR_BUILD@
 config.have_lldb_vscode = @LLDB_TOOL_LLDB_VSCODE_BUILD@
-config.maxIndividualTestTime = 600
 
 # Support substitution of the tools and libs dirs with user parameters. This is
 # used when we can't determine the tool dir at configuration time.




More information about the lldb-commits mailing list