[all-commits] [llvm/llvm-project] 6030a0: Fix hidden-redecls.m test for some environments

Konstantin Schwarz via All-commits all-commits at lists.llvm.org
Fri Oct 16 00:51:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6030a075164c7016b29a67680ed5c9e7c5932109
      https://github.com/llvm/llvm-project/commit/6030a075164c7016b29a67680ed5c9e7c5932109
  Author: Konstantin Schwarz <konstantin.schwarz at hightec-rt.com>
  Date:   2020-10-16 (Fri, 16 Oct 2020)

  Changed paths:
    M clang/test/Index/hidden-redecls.m

  Log Message:
  -----------
  Fix hidden-redecls.m test for some environments

This test was failing in our CI environment, because Jenkins mounts the workspaces into Docker containers using their full path, i.e. /home/jenkins/workspaces/llvm-build.
We've seen permission denied errors because /home/jenkins is mounted with root permissions and the default cache directory under Linux is $HOME/.cache.

The fix is to explicitly provide the -fmodules-cache-path, which the other tests already seem to provide.

Reviewed By: akyrtzi

Differential Revision: https://reviews.llvm.org/D89453




More information about the All-commits mailing list