llvm-project/lldb
Frederic Riss 412f24dd2d Change TestCompletion to only ever look inside of BaseDir
TestCompletion was failing quite frequently on our Linux bots. Some tracing
revealed that when we are iterating BaseDir we are not getting all the entries.
More specifically, we are sometimes missing the entry corresponding to the
TestCompletion directory that the first test in DirCompletionAbsolute is
looking for. BaseDir is the directory where lit is creating all the temporary
files. The semantics of opendir/readdir are unclear when it comes to iterating
over a directory that changes contents, but it seems like on Linux you might
fail to list an entry even if it was there before opendir and is still present
throughout the iteration. Changing the test to only look inside of the test-
specific directory seems to fix the instability.

This commit also removes some assertions that were added to try to track down
this issue.

llvm-svn: 341425
2018-09-04 23:09:49 +00:00
..
cmake [cmake] Add option to skip building lldb-server 2018-08-23 18:05:45 +00:00
docs Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
examples Update cmdtemplate.py to use best pratices. 2018-06-22 23:34:24 +00:00
include/lldb Fix a comment to use the correct variable name. 2018-08-31 18:14:53 +00:00
lit [DWARF] Fix dwarf5-index-is-used.cpp 2018-09-03 07:16:06 +00:00
lldb.xcodeproj Add a new tool named "lldb-vscode" that implements the Visual Studio Code Debug Adaptor Protocol 2018-08-16 17:59:38 +00:00
lldb.xcworkspace Fix a typo in the gtest build target for Debug configuration. 2018-04-10 17:49:56 +00:00
packages/Python/lldbsuite Ignore unicode decode errors in test suite's encoded_file class 2018-09-01 12:15:46 +00:00
resources Fix up Info.plist when building LLDB.framework with CMake 2018-06-19 02:59:30 +00:00
scripts Support setting a breakpoint by FileSpec+Line+Column in the SBAPI. 2018-08-30 15:11:00 +00:00
source Terminate debugger if an assert was hit 2018-09-04 17:19:15 +00:00
test Fix typo 2018-08-27 21:46:18 +00:00
third_party/Python/module *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
tools [PDB] Resolve a symbol context block info correctly 2018-08-29 07:26:11 +00:00
unittests Change TestCompletion to only ever look inside of BaseDir 2018-09-04 23:09:49 +00:00
utils [CMake] Unify and relayer testing 2018-05-03 16:54:10 +00:00
www Fixed missing sidebars on the website 2018-08-31 02:07:05 +00:00
.arcconfig
.clang-format Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00
.gitignore [dotest] Remove crashinfo hook 2018-01-10 10:18:47 +00:00
CMakeLists.txt Introduce install-lldb-framework target 2018-08-01 17:21:18 +00:00
CODE_OWNERS.txt Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
INSTALL.txt Changed builld-llvm.py to use .json files 2017-02-23 02:21:34 +00:00
LICENSE.TXT
use_lldb_suite_root.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00