[Lldb-commits] [lldb] r357555 - [lit] Use 10 minute timeout by default.

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 2 18:26:42 PDT 2019


Author: jdevlieghere
Date: Tue Apr  2 18:26:41 2019
New Revision: 357555

URL: http://llvm.org/viewvc/llvm-project?rev=357555&view=rev
Log:
[lit] Use 10 minute timeout by default.

Lit has the ability to set a timeout for individual tests. This patch
enables that functionality with a default of 10 minutes.

Currently we rely on the bots to kill the whole test suite. However this
doesn't tell us which test caused the timeout. Furthermore, when running
the test suite during development, I have to manually kill the tests
that time out to get the lit output at then end. This fixes both
inconveniences.

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

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=357555&r1=357554&r2=357555&view=diff
==============================================================================
--- lldb/trunk/lit/lit.site.cfg.py.in (original)
+++ lldb/trunk/lit/lit.site.cfg.py.in Tue Apr  2 18:26:41 2019
@@ -18,6 +18,7 @@ config.have_zlib = @LLVM_ENABLE_ZLIB@
 config.host_triple = "@LLVM_HOST_TRIPLE@"
 config.lldb_bitness = 64 if @LLDB_IS_64_BITS@ else 32
 config.lldb_disable_python = @LLDB_DISABLE_PYTHON@
+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