[all-commits] [llvm/llvm-project] 9e1c1e: [HIP][test] Avoid %T

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Sep 15 19:58:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e1c1ecb148eb4e530467e178973e870945e6602
      https://github.com/llvm/llvm-project/commit/9e1c1ecb148eb4e530467e178973e870945e6602
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-09-15 (Thu, 15 Sep 2022)

  Changed paths:
    M clang/test/Driver/hip-link-bc-to-bc.hip
    M clang/test/Driver/hip-link-bundle-archive.hip
    M clang/test/Driver/hip-link-save-temps.hip
    M clang/test/Driver/hip-phases.hip
    M clang/test/Driver/hip-runtime-libs-linux.hip
    M clang/test/Driver/hip-toolchain-no-rdc.hip
    M clang/test/Driver/hip-toolchain-rdc-separate.hip

  Log Message:
  -----------
  [HIP][test] Avoid %T

%T is a deprecated lit feature. It refers to the parent directory.
When two tests in test/Driver refer to the same `%T/foo`, they are racy with each other.
%t includes the test name and is safe for use.

Reviewed By: tra

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




More information about the All-commits mailing list