[Lldb-commits] [lldb] [lldb][test] Fix TestUseSourceCache for readonly source trees (PR #113251)
Jordan Rupprecht via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 21 19:40:18 PDT 2024
rupprecht wrote:
A more platform-agnostic way to do this would be to do it from Python:
```py
src = self.getBuildArtifact("main-copy.cpp")
statinfo = os.stat(src)
os.chmod(src, statinfo.st_mode | stat.S_IWUSR)
```
However, I don't understand the test case well enough to say if this would make it less representative. Would that fix be preferred?
https://github.com/llvm/llvm-project/pull/113251
More information about the lldb-commits
mailing list