[all-commits] [llvm/llvm-project] 1830fa: [LLDB] Fix write permission error in TestGlobalMod...

cmtice via All-commits all-commits at lists.llvm.org
Thu Dec 21 12:05:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1830fadb78be9993cfeeaa7fb6867c3df1a53a8b
      https://github.com/llvm/llvm-project/commit/1830fadb78be9993cfeeaa7fb6867c3df1a53a8b
  Author: cmtice <cmtice at google.com>
  Date:   2023-12-21 (Thu, 21 Dec 2023)

  Changed paths:
    M lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py

  Log Message:
  -----------
  [LLDB] Fix write permission error in TestGlobalModuleCache.py (#76171)

TestGlobalModuleCache.py, a recently added test, tries to update a
source file in the build directory, but it assumes the file is writable.
In our distributed build and test system, this is not always true, so
the test often fails with a write permissions error.

This change fixes that by setting the permissions on the file to be
writable before attempting to write to it.




More information about the All-commits mailing list