summaryrefslogtreecommitdiff
path: root/lldb/test/API/commands/settings/use_source_cache/TestUseSourceCache.py
AgeCommit message (Collapse)Author
2024-10-18[lldb] Fix and re-enable TestUseSourceCache.py (#111237)Igor Kudrin
The decorators caused the `test_set_use_source_cache_true()` test to be skipped in most scenarios. It was only run on a Windows host targeting a non-Windows remote platform. The source file is opened with the `FILE_SHARE_DELETE` sharing mode, which allows the file to be removed even though it is also memory-mapped; at least, this behavior is observed on Windows 11. The patch replaces the operation with an attempt to overwrite the file, which still fails for such files on Windows 11.
2024-07-02[lldb][test] Disable TestUseSourceCache on Windows (#97324)Kendal Harland
This test also fails on Windows amd64, although it is only disabled for aarch64. Co-authored-by: kendal <kendal@thebrowser.company>
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
2022-08-02[LLDB] Skip buildbot failures AArch64/WindowsMuhammad Omair Javaid
TestInlineStepping.py is flaky while TestUseSourceCache.py fails on Windows 11 only. Marked them skipped to make buildbot happy.
2022-06-17[lldb][tests] Automatically call compute_mydir (NFC)Dave Lee
Eliminate boilerplate of having each test manually assign to `mydir` by calling `compute_mydir` in lldbtest.py. Differential Revision: https://reviews.llvm.org/D128077
2020-04-20[lldb] Remove m_last_file_sp from SourceManagerEmre Kultursay
Summary: ...and replace it with m_last_file_spec instead. When Source Cache is enabled, the value stored in m_last_file_sp is already in the Source Cache, and caching it again in SourceManager brings no extra benefit. All we need is to "remember" the last used file, and FileSpec can serve the same purpose. When Source Cache is disabled, the user explicitly requested no caching of source files, and therefore, m_last_file_sp should NOT be used. Bug: llvm.org/PR45310 Depends on D76805. Reviewers: labath, jingham Reviewed By: jingham Subscribers: labath, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D76806