[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 ...
Update three tests to realpath paths that we compare to dyld pathsI get to my work directory through a symlink, so the pathnames thetests get for their build artifacts etc are via that symlink. T
Update three tests to realpath paths that we compare to dyld pathsI get to my work directory through a symlink, so the pathnames thetests get for their build artifacts etc are via that symlink. Thereare three tests which compare those symlink paths to a directoryreceived from dyld on macOS, which is the actual real pathname.These tests have always failed for me on my dekstop but I finallysat down to figure out why. Easy quick fix.
[lldb] Replace asserts on .Success() with assertSuccess()Replace forms of `assertTrue(err.Success())` with `assertSuccess(err)` (added in D82759).* `assertSuccess` prints out the error's message
[lldb] Replace asserts on .Success() with assertSuccess()Replace forms of `assertTrue(err.Success())` with `assertSuccess(err)` (added in D82759).* `assertSuccess` prints out the error's message* `assertSuccess` expresses explicit higher level semantics, both to the reader and for test failure output* `assertSuccess` seems not to be well known, using it where possible will help spread knowledge* `assertSuccess` statements are more succinctDifferential Revision: https://reviews.llvm.org/D119616
[lldb/test] Fix TestFunctionStarts for eee887e0
[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.
[lldb] Fix TestFunctionStarts.py on ASThe tests strips the binary which invalidates the code signature. Skipcode signing for this test.
[lldb/test] Fix failure caused by synthetic symbol name refactoringThis patch fixes a failure in `TestFunctionStarts.py` that appearedfollowing a change of implementation for synthetic symbol name
[lldb/test] Fix failure caused by synthetic symbol name refactoringThis patch fixes a failure in `TestFunctionStarts.py` that appearedfollowing a change of implementation for synthetic symbol names:https://reviews.llvm.org/D105160The failure is caused because the previously mentioned patch removes theobject file basename from the generated synthetic symbol names to allowthem to be shared in the constant string pool.Hence, that last check is not necessary anymore.rdar://80092322Differential Revision: https://reviews.llvm.org/D105366Signed-off-by: Med Ismail Bennani <[email protected]>
[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] Update macosx remote tests for passive replaySkip tests or part thereof that are not supposed to work with replay.
[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