[all-commits] [llvm/llvm-project] 67aea3: [clang] Make Driver tests pass when running with t...

Nico Weber via All-commits all-commits at lists.llvm.org
Mon Mar 28 13:07:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 67aea3b65cc5417a06712a22a2dfb5f3f7f43eff
      https://github.com/llvm/llvm-project/commit/67aea3b65cc5417a06712a22a2dfb5f3f7f43eff
  Author: Nico Weber <thakis at chromium.org>
  Date:   2022-03-28 (Mon, 28 Mar 2022)

  Changed paths:
    M clang/test/Driver/dragonfly.c
    M clang/test/Driver/freebsd.c
    M clang/test/Driver/fuchsia.c
    M clang/test/Driver/linux-cross.cpp
    M clang/test/Driver/netbsd.c
    M clang/test/Driver/openbsd.c

  Log Message:
  -----------
  [clang] Make Driver tests pass when running with temp dir containing "crt"

In a recent run, temp files got created in /tmp/lit-tmp-2wcrtcx1/foo-xxx.o.
Since the tmp path contained "crt", this made a few tests fail:
http://45.33.8.238/linux/72221/step_7.txt

Not allowing '/' as path of the file name prevents this.

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




More information about the All-commits mailing list