[all-commits] [llvm/llvm-project] f4a13c: [Clang][ScanDeps] Change multiple-commands.c test ...

Bruno Cardoso Lopes via All-commits all-commits at lists.llvm.org
Fri Sep 9 16:21:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4a13c9c0a049d40e0365477c58c2a5369eda6dc
      https://github.com/llvm/llvm-project/commit/f4a13c9c0a049d40e0365477c58c2a5369eda6dc
  Author: Bruno Cardoso Lopes <bruno.cardoso at gmail.com>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M clang/test/ClangScanDeps/multiple-commands.c

  Log Message:
  -----------
  [Clang][ScanDeps] Change multiple-commands.c test to use -fmodules-cache-path on implicit builds

The module cache escapes the test output dirs in this test. Since its default location maybe
composed of system and user related path this can cause problems in some builders (e.g. not
accessible paths inherited in a chroot environment).

Clean the test a bit by passing `-fmodules-cache-path` inside the test output dirs.

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




More information about the All-commits mailing list