[all-commits] [llvm/llvm-project] d96f52: [clang][test] Disallow using the default module ca...

Ben Langmuir via All-commits all-commits at lists.llvm.org
Mon Sep 12 09:55:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d96f526196ac4cebfdd318473816f6d4b9d76707
      https://github.com/llvm/llvm-project/commit/d96f526196ac4cebfdd318473816f6d4b9d76707
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    M clang/test/Driver/modules-cache-path.m
    M clang/test/Modules/driver.c
    M llvm/utils/lit/lit/llvm/config.py

  Log Message:
  -----------
  [clang][test] Disallow using the default module cache path in lit tests

Make the default module cache path invalid when running lit tests so
that tests are forced to provide a cache path. This avoids accidentally
escaping to the system default location, and would have caught the
failure recently found in ClangScanDeps/multiple-commands.c.

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




More information about the All-commits mailing list