[all-commits] [llvm/llvm-project] 47d9ca: [lldb] Fix and re-enable TestUseSourceCache.py (#1...
Igor Kudrin via All-commits
all-commits at lists.llvm.org
Fri Oct 18 14:11:44 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 47d9ca87b0385975e8b14f5df06886ddd6057b17
https://github.com/llvm/llvm-project/commit/47d9ca87b0385975e8b14f5df06886ddd6057b17
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M lldb/test/API/commands/settings/use_source_cache/TestUseSourceCache.py
Log Message:
-----------
[lldb] Fix and re-enable TestUseSourceCache.py (#111237)
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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list