[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/test] Fix std-module vector tests to work with both kinds of vector layoutsD112976 changed the layout and 0d62e31c45 andjusted the testexpectations to match.This patch changes the tests to
[lldb/test] Fix std-module vector tests to work with both kinds of vector layoutsD112976 changed the layout and 0d62e31c45 andjusted the testexpectations to match.This patch changes the tests to expect both versions, so that one canrun the test suite against older libc++ versions as well.
[LLDB][NFC] Fix test that broke due to libc++ std::vector changesD112976 moved most of the guts of __vector_base into vector, this brokesome LLDB tests by changing the result types that LLDB sees.
[LLDB][NFC] Fix test that broke due to libc++ std::vector changesD112976 moved most of the guts of __vector_base into vector, this brokesome LLDB tests by changing the result types that LLDB sees. This updatesthe test to reflect the new structure.
[lldb][import-std-module] Add a test for typedef'd std types
[ASTImporter] Import the default argument of TemplateTypeParmDeclThe test case isn't using the AST matchers for all checks as there doesn't seem to be support formatching TemplateTypeParmDecl defa
[ASTImporter] Import the default argument of TemplateTypeParmDeclThe test case isn't using the AST matchers for all checks as there doesn't seem to be support formatching TemplateTypeParmDecl default arguments. Otherwise this is simply importing thedefault arguments.Also updates several LLDB tests that now as intended omit the default templatearguments of several std templates.Reviewed By: martongDifferential Revision: https://reviews.llvm.org/D92103
[lldb] Reference STL types in import-std-module testsWith the recent patches to the ASTImporter that improve template type importing(D87444), most of the import-std-module tests can now finally im
[lldb] Reference STL types in import-std-module testsWith the recent patches to the ASTImporter that improve template type importing(D87444), most of the import-std-module tests can now finally import thetype of the STL container they are testing. This patch removes most of the caststhat were added to simplify types to something the ASTImporter can import(for example, std::vector<int>::size_type was casted to `size_t` until now).Also adds the missing tests that require referencing the container type (forexample simply printing the whole container) as here we couldn't use a castingworkaround.The only casts that remain are in the forward_list tests that referencethe iterator and the stack test. Both tests are still failing to import therespective container type correctly (or crash while trying to import).
[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