llvm-project/lldb/test
Pavel Labath bf3ac994c4 [lldb] Apply gdb-remote timeout to platform connections as well
We have a plugin.process.gdb-remote.packet-timeout setting, which can be
used to control how long the lldb client is willing to wait before
declaring the server side dead. Our test suite makes use of this
feature, and sets the setting value fairly high, as the low default
value can cause flaky tests, particularly on slower bots.

After fixing TestPlatformConnect (one of the few tests exercising the
remote platform capabilities of lldb) in 4b284b9ca, it immediately
started being flaky on the arm bots. It turns out this is because the
packet-timeout setting is not being applied to platform connections.

This patch makes the platform connections also respect the value of this
setting. It also adds a test which checks that the timeout value is
being honored.

Differential Revision: https://reviews.llvm.org/D97769
2021-03-04 14:46:02 +01:00
..
API [lldb] Apply gdb-remote timeout to platform connections as well 2021-03-04 14:46:02 +01:00
Shell [lldb] Fix handling of `DW_AT_decl_file` according to D91014 (attempt #2) 2021-03-03 10:27:35 +01:00
Unit [lldb] Use config.lldb_src_root in lit_config.load_config (NFC) 2020-09-29 23:05:12 -07:00
CMakeLists.txt [lldb] add check for libcxx runtime 2021-02-22 17:53:54 -08:00
lit.cfg.py [test] Cleanup top-level lit.cfg.py 2019-10-10 19:51:47 +00:00
lit.site.cfg.py.in [lldb] Get rid of helper CMake variables for Python 2020-08-17 08:47:52 -07:00