diff options
author | Jorge Gorbe Moya <jgorbe@google.com> | 2019-04-03 20:43:20 +0000 |
---|---|---|
committer | Jorge Gorbe Moya <jgorbe@google.com> | 2019-04-03 20:43:20 +0000 |
commit | 060bf99f493ea5515fa09dec8dc949dc6d57db09 (patch) | |
tree | 35078ad2d3e6d54ee3bfd17bb726fea7d57fdc0e /lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/main.c | |
parent | 8f34658b872ec02e7212fcaa29a18bb64427ee81 (diff) | |
download | bcm5719-llvm-060bf99f493ea5515fa09dec8dc949dc6d57db09.tar.gz bcm5719-llvm-060bf99f493ea5515fa09dec8dc949dc6d57db09.zip |
Re-enable most lldb-vscode tests on Linux.
Summary:
After https://reviews.llvm.org/D59828 and https://reviews.llvm.org/D59849,
I believe the problems with these tests hanging have been solved.
I tried enabling all of them on my machine, and got two failures:
- One of them was spawning a child process that lives for 5 seconds, waited
for 5 seconds to attach to the child, and failed because the child wasn't
there.
- The other one was a legit failure because shell expansion of arguments doesn't
work on Linux.
This tests enables all lldb-vscode tests on Linux except for "launch process
with shell expansion of args" (which doesn't work), and fixes the other broken
test by reducing the time it waits before attaching to its child process.
Reviewers: zturner, clayborg
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D60153
llvm-svn: 357633
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/main.c')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/main.c b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/main.c index a078d42203e..123ead2fa65 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/main.c +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/main.c @@ -3,6 +3,6 @@ int main(int argc, char const *argv[]) { printf("pid = %i\n", getpid()); - sleep(5); + sleep(10); return 0; // breakpoint 1 } |