[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://r
[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://reviews.llvm.org/D128077
show more ...
[lldb] Skip several lldb tests that are flaky on WindowsThese tests fail every 10 or so runs on Windows causing both local failures as well as buildbot failures.Differential Revision: https://rev
[lldb] Skip several lldb tests that are flaky on WindowsThese tests fail every 10 or so runs on Windows causing both local failures as well as buildbot failures.Differential Revision: https://reviews.llvm.org/D111659
[lldb] Remove support for replaying the test suite from a reproducerThis patch removes the infrastructure to replay the test suite from areproducer, as well as the modifications made to the indivi
[lldb] Remove support for replaying the test suite from a reproducerThis patch removes the infrastructure to replay the test suite from areproducer, as well as the modifications made to the individual tests.
Make "process attach -c" work correctly, and add a test for it.The issue here was that we were not updating the interpreter'sexecution context when calling HandleCommand to continue the process.S
Make "process attach -c" work correctly, and add a test for it.The issue here was that we were not updating the interpreter'sexecution context when calling HandleCommand to continue the process.Since we had just created the process, it wasn't in the interpreter'sexecution context so HandleCommand failed at CheckRequirements. Thepatch fixes that by passing the process execution context directlyto HandleCommand.Differential Revision: https://reviews.llvm.org/D110787
Make testcase more robust against codegen changes
Fix typo
Simplify testcase to use v instead of p (NFC)
[lldb/test] Skip TestProcessAttach: test_attach_to_process_from_different_dir_by_id on WindowsThis test is flakey on Windows and on failure it hangs causing the test suite to fail and future builds
[lldb/test] Skip TestProcessAttach: test_attach_to_process_from_different_dir_by_id on WindowsThis test is flakey on Windows and on failure it hangs causing the test suite to fail and future builds (on the buildbot, especially) to fail because they cannot re-write the files that are currently in use
[lldb] [test] Update test status for NetBSD
[lldb] [POSIX-DYLD] Update the cached exe path after attachFix the POSIX-DYLD plugin to update the cached executable path afterattaching. Previously, the path was cached in DYLDRendezvousconstru
[lldb] [POSIX-DYLD] Update the cached exe path after attachFix the POSIX-DYLD plugin to update the cached executable path afterattaching. Previously, the path was cached in DYLDRendezvousconstructor and not updated afterwards. This meant that if LLDB wasattaching to a process (e.g. via connecting to lldb-server), the codestored the empty path before DidAttach() resolved it. The fix updatesthe cached path in DidAttach().This fixes a new instance of https://llvm.org/pr17880Differential Revision: https://reviews.llvm.org/D92264
[lldb] [Process/NetBSD] Copy the recent improvements from FreeBSDCopy the recent improvements from the FreeBSDRemote plugin, notably:- moving event reporting setup into SetupTrace() helper- add
[lldb] [Process/NetBSD] Copy the recent improvements from FreeBSDCopy the recent improvements from the FreeBSDRemote plugin, notably:- moving event reporting setup into SetupTrace() helper- adding more debug info into SIGTRAP handling- handling user-generated (and unknown) SIGTRAP events- adding missing error handling to the generic signal handler- fixing attaching to processes- switching watchpoint helpers to use llvm::Error- minor style and formatting changesThis fixes a number of tests, mostly related to fixed attaching.Differential Revision: https://reviews.llvm.org/D91167
[lldb/Test] Always set the cleanupSubprocesses tear down hookAlways clean up subprocesses on tear down instead of relying on thecaller to do so. This is not only less error prone but also means th
[lldb/Test] Always set the cleanupSubprocesses tear down hookAlways clean up subprocesses on tear down instead of relying on thecaller to do so. This is not only less error prone but also means thetests can be more concise.Differential revision: https://reviews.llvm.org/D83787
[lldb/Reproducers] Differentiate active and passive replay unexpected packet.
[lldb/Test] Modify more tests for API replaySkip tests or parts thereof that aren't expected to work when run from areproducer. Also improve the doc comments in configuration.py to preventmistake
[lldb/Test] Modify more tests for API replaySkip tests or parts thereof that aren't expected to work when run from areproducer. Also improve the doc comments in configuration.py to preventmistakes in the future.
[lldb/Test] Add skipIfReproducer for tests that diverge during replayAdd the skipIfReproducer decorator to the remaining tests that fail toreplay because the GDB remote packets diverge during repl
[lldb/Test] Add skipIfReproducer for tests that diverge during replayAdd the skipIfReproducer decorator to the remaining tests that fail toreplay because the GDB remote packets diverge during replay. This is*not* expected and should be fixed, but figuring out exactly what causedthe divergence has proven pretty difficult to track down.I've marked these tests as skipped for now so we can get clean resultsand detect new regressions. I have no evidence to believe that thesefailures have the same root cause, so I've not assigned them a PR.
[lldb][test] Remove symlink for API tests.Summary: Moves lldbsuite tests to lldb/test/API.This is a largely mechanical change, moved with the following steps:```rm lldb/test/API/testcasesmkdi
[lldb][test] Remove symlink for API tests.Summary: Moves lldbsuite tests to lldb/test/API.This is a largely mechanical change, moved with the following steps:```rm lldb/test/API/testcasesmkdir -p lldb/test/API/{test_runner/test,tools/lldb-{server,vscode}}mv lldb/packages/Python/lldbsuite/test/test_runner/test lldb/test/API/test_runnerfor d in $(find lldb/packages/Python/lldbsuite/test/* -maxdepth 0 -type d | egrep -v "make|plugins|test_runner|tools"); do mv $d lldb/test/API; donefor d in $(find lldb/packages/Python/lldbsuite/test/tools/lldb-vscode -maxdepth 1 -mindepth 1 | grep -v ".py"); do mv $d lldb/test/API/tools/lldb-vscode; donefor d in $(find lldb/packages/Python/lldbsuite/test/tools/lldb-server -maxdepth 1 -mindepth 1 | egrep -v "gdbremote_testcase.py|lldbgdbserverutils.py|socket_packet_pump.py"); do mv $d lldb/test/API/tools/lldb-server; done```lldb/packages/Python/lldbsuite/__init__.py and lldb/test/API/lit.cfg.py were also updated with the new directory structure.Reviewers: labath, JDevlieghereTags: #lldbDifferential Revision: https://reviews.llvm.org/D71151