hanchenye-llvm-project/lldb
Pavel Labath 4c693a894f Speed up TestWatchpointMultipleThreads
Summary:
The inferior was sleeping before doing any interesting work. I remove that
to make the test faster.

While looking at the purpose of the test (to check that watchpoints are
propagated to all existing threads - r140757) I noticed that the test has
diverged from the original intention and now it creates the threads *after* the
watchpoint is set (this probably happened during the std::thread refactor).
After some discussion, we decided both scenarios make sense, so I modify the
test to test both.

The watchpoint propagation functionality is not really debug info depenent, so
I also stop replication of this test. This brings the test's time from ~108s
down to 4s.

Reviewers: davide, jingham

Subscribers: aprantl, lldb-commits

Differential Revision: https://reviews.llvm.org/D43857

llvm-svn: 326514
2018-03-02 00:17:05 +00:00
..
cmake [lldb] Set component when invoking add_llvm_install_targets 2017-12-13 01:14:27 +00:00
docs Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
examples Fixed up to use a class for the commands, renamed the commands and added a way to just dump the compile unit full paths and optionally their support files with the new "dump-files"command. 2017-11-16 17:14:48 +00:00
include/lldb Revert "[lldb] Use vFlash commands when writing to target's flash memory regions" 2018-02-28 20:42:29 +00:00
lit Add "lldb-test breakpoint" command and convert the case-sensitivity test to use it 2018-02-26 18:50:16 +00:00
lldb.xcodeproj Fix up the gtest targets for changes in the UnwindAssembly tests. 2018-02-28 22:41:11 +00:00
lldb.xcworkspace
packages/Python/lldbsuite Speed up TestWatchpointMultipleThreads 2018-03-02 00:17:05 +00:00
resources
scripts Add SBDebugger::GetBuildConfiguration and use it to skip an XML test 2018-02-19 15:06:28 +00:00
source Make Finalize tolerant of empty register sets. 2018-03-01 14:36:42 +00:00
test [testsuite] Run lit tests as part of `check-lldb`. 2018-02-21 21:10:44 +00:00
third_party/Python/module
tools Add another entitlement that we need for debugserver. 2018-03-01 01:04:07 +00:00
unittests [LLDB] Initial version of PPC64 InstEmulation 2018-02-27 18:42:46 +00:00
utils
www [docs] Update docs for cmake options LLDB_TEST_C_COMPILER and LLDB_TEST_CXX_COMPILER 2018-02-08 05:11:17 +00:00
.arcconfig
.clang-format
.gitignore [dotest] Remove crashinfo hook 2018-01-10 10:18:47 +00:00
CMakeLists.txt [lit] Update how clang and other binaries are found in per-configuration directories 2018-02-21 00:05:51 +00:00
CODE_OWNERS.txt Remove Sean Callanan from the CODE_OWNERS, he won't have time 2017-11-01 01:38:42 +00:00
INSTALL.txt
LICENSE.TXT
use_lldb_suite_root.py