summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/pre_kill_hook
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-07-11 19:27:33 +0000
committerRaphael Isemann <teemperor@gmail.com>2019-07-11 19:27:33 +0000
commit2bc8ab685289b7681e6ed0fa54f55bc505b47450 (patch)
treedbf6ed606d05663a529aba41d7b9b2fb774c60be /lldb/packages/Python/lldbsuite/pre_kill_hook
parent60b71ce0e4f23e2dd73c58c7c0f15df6702ed188 (diff)
downloadbcm5719-llvm-2bc8ab685289b7681e6ed0fa54f55bc505b47450.tar.gz
bcm5719-llvm-2bc8ab685289b7681e6ed0fa54f55bc505b47450.zip
[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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/pre_kill_hook')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud