llvm-project/lldb
Raphael Isemann 2bc8ab6852 [lldb] Make TestDeletedExecutable more reliable
Summary:
It seems that calling Popen can return to the caller before the started process has read all the needed information
from its executable. This means that in case we delete the executable while the process is still starting up,
this test will create a zombie process which in turn leads to a failing test. On my macOS system this happens quite frequently.

This patch fixes this by letting the test synchronize with the inferior after it has started up.

Reviewers: davide

Reviewed By: davide

Subscribers: labath, friss, lldb-commits

Tags: #lldb

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

llvm-svn: 365813
2019-07-11 19:27:33 +00:00
..
cmake Add Python 3.6 and 3.7 to the version list 2019-07-10 19:18:38 +00:00
docs [Docs] Replace SVN revisions with lldb versions 2019-07-09 21:21:45 +00:00
examples [crashlog] Fix a mismatch between bytes and strings. 2019-07-09 01:05:12 +00:00
include/lldb [Expression] IR Instrumenters should have a UtilityFunction 2019-07-10 20:41:36 +00:00
lit ObjectFileELF: Add support for gnu-style compressed sections 2019-07-10 16:10:43 +00:00
lldb.xcodeproj Remove install-headers 2019-07-08 21:53:22 +00:00
lldb.xcworkspace Remove lldb-perf 2019-07-08 21:38:34 +00:00
packages/Python/lldbsuite [lldb] Make TestDeletedExecutable more reliable 2019-07-11 19:27:33 +00:00
resources [CMake] Revised LLDB.framework builds 2019-01-04 12:46:50 +00:00
scripts [swig] Add workaround for old swig 2019-07-11 00:12:59 +00:00
source [lldb] Don't use __FUNCTION__ as a file name 2019-07-11 19:26:55 +00:00
test [CMake] Folder structure for generated Xcode project to cover more targets 2019-05-28 09:29:05 +00:00
third_party/Python/module [lldb/thirdparty] Remove unneeded files, asked by Jonas. 2019-03-12 20:41:36 +00:00
tools [CMake] `install-distribution` for LLDB on Darwin 2019-07-10 11:09:29 +00:00
unittests Add a sanity check to the domain socket tests. 2019-06-27 16:45:23 +00:00
utils [CMake] Fix lldb-dotest for single-config generators in standalone builds 2019-06-13 17:35:43 +00:00
.arcconfig
.clang-format
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt [CMake] Distribution builds for LLDB standalone 2019-07-10 11:09:11 +00:00
CODE_OWNERS.txt Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
INSTALL.txt Fix build URL in new LLDB website 2019-05-01 09:55:00 +00:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
use_lldb_suite_root.py