summaryrefslogtreecommitdiff
path: root/lldb/test/API/lang/cpp/operators
AgeCommit message (Collapse)Author
2023-05-25[NFC][Py Reformat] Reformat python files in lldbJonas Devlieghere
This is an ongoing series of commits that are reformatting our Python code. Reformatting is done with `black` (23.1.0). If you end up having problems merging this commit because you have made changes to a python file, the best way to handle that is to run `git checkout --ours <yourfile>` and then reformat it with black. RFC: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style Differential revision: https://reviews.llvm.org/D151460
2021-06-25[lldb] Skip tests failing with GCC due to LLDB not being able to call ↵Raphael Isemann
constructors Tracked in llvm.org/pr50814 These tests fail with all GCC versions I tested (8.5, 9.4, 10.3, 11.1).
2020-05-04[LLDB] Fix overloaded operator new cases in TestCppOperators.py which ↵shafik
currently work by accident The overloaded new operator in TestCppOperators.py are working by accident because of how we currently deal with artificial methods. Differential Revision: https://reviews.llvm.org/D79251
2020-02-24[lldb] Disable auto fix-its when evaluating expressions in the test suiteRaphael Isemann
Summary: Currently the test suite runs with enabled automatically applied Clang fix-its for expressions. This is causing that sometimes incorrect expressions in tests are still evaluated even though they are actually incorrect. Let's disable this feature in the test suite so that we know when expressions are wrong and leave the fix-it testing to the dedicated tests for that feature. Also updates the `lang/cpp/operators/` test as it seems Clang needs the `struct` keywords before C and would otherwise fail without fixits. Reviewers: jingham, JDevlieghere, shafik Reviewed By: JDevlieghere, shafik Subscribers: shafik, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D74957
2020-02-17[lldb] Fix some tests failing with gmodules after change to stdlib.hRaphael Isemann
Commit 82b47b2978405f802a33b00d046e6f18ef6a47be changes the way the stdlib.h header is structured which seems to cause strange lookup failures in the modules build. This updates a few failing tests so that they pass with the new behavior of stdlib.h. See the discussion in https://reviews.llvm.org/rG82b47b2978405f802a33b00d046e6f18ef6a47be
2020-02-11[lldb][test] Remove symlink for API tests.Jordan Rupprecht
Summary: Moves lldbsuite tests to lldb/test/API. This is a largely mechanical change, moved with the following steps: ``` rm lldb/test/API/testcases mkdir -p lldb/test/API/{test_runner/test,tools/lldb-{server,vscode}} mv lldb/packages/Python/lldbsuite/test/test_runner/test lldb/test/API/test_runner for 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; done for 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; done for 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, JDevlieghere Tags: #lldb Differential Revision: https://reviews.llvm.org/D71151