[PATCH] D86622: Fix failing tests after VCTOOLSDIR change
Zachary Henkel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 26 07:28:12 PDT 2020
zahen created this revision.
zahen added a reviewer: hans.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
zahen requested review of this revision.
Switch from hardcoded x64 arch to a regex in the target triple
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86622
Files:
clang/test/Driver/cl-options.c
Index: clang/test/Driver/cl-options.c
===================================================================
--- clang/test/Driver/cl-options.c
+++ clang/test/Driver/cl-options.c
@@ -684,7 +684,7 @@
// Validate that the default triple is used when run an empty tools dir is specified
// RUN: %clang_cl -vctoolsdir "" -### -- %s 2>&1 | FileCheck %s --check-prefix VCTOOLSDIR
-// VCTOOLSDIR: "-cc1" "-triple" "x86_64-pc-windows-msvc19.11.0"
+// VCTOOLSDIR: "-triple" "{{[a-zA-Z0-9_-]*}}-pc-windows-msvc19.11.0"
// Validate that built-in include paths are based on the supplied path
// RUN: %clang_cl -vctoolsdir "/fake" -### -- %s 2>&1 | FileCheck %s --check-prefix FAKEDIR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86622.287967.patch
Type: text/x-patch
Size: 677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200826/d8512857/attachment.bin>
More information about the cfe-commits
mailing list