[PATCH] D83055: [clang][Driver] Fix tool path priority test failures

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 8 11:06:26 PDT 2020


MaskRay added inline comments.


================
Comment at: clang/test/Driver/program-path-priority.c:117
 // RUN: mv %t/$DEFAULT_TRIPLE-gcc %t/prefix
+// RUN: mv %t/%target_triple-gcc %t/prefix
 // RUN: touch %t/notreal-none-elf-gcc && chmod +x %t/notreal-none-elf-gcc
----------------
If $DEFAULT_TRIPLE == %target_triple, this mv command will fail.

The same applies to the rm below.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83055/new/

https://reviews.llvm.org/D83055





More information about the cfe-commits mailing list