[clang] 05ea321 - [clang-cl] Fix test after 951f362e256 on systems where default target isn't x86_64

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 16 05:44:10 PDT 2021


Author: Nico Weber
Date: 2021-09-16T08:43:58-04:00
New Revision: 05ea321f716390abda1632cca71dc9441662cf62

URL: https://github.com/llvm/llvm-project/commit/05ea321f716390abda1632cca71dc9441662cf62
DIFF: https://github.com/llvm/llvm-project/commit/05ea321f716390abda1632cca71dc9441662cf62.diff

LOG: [clang-cl] Fix test after 951f362e256 on systems where default target isn't x86_64

Added: 
    

Modified: 
    clang/test/Driver/cl-sysroot.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/cl-sysroot.cpp b/clang/test/Driver/cl-sysroot.cpp
index 46edf3ac0512..eb701f28514d 100644
--- a/clang/test/Driver/cl-sysroot.cpp
+++ b/clang/test/Driver/cl-sysroot.cpp
@@ -1,8 +1,10 @@
 // RUN: rm -rf %t
 // RUN: split-file %s %t
 
-// RUN: %clang_cl -m64 /winsysroot %t -### -- %t/foo.cpp 2>&1 | FileCheck %s
-// RUN: %clang_cl -m64 \
+// RUN: %clang_cl --target=x86_64-windows \
+// RUN:     /winsysroot %t \
+// RUN:     -### -- %t/foo.cpp 2>&1 | FileCheck %s
+// RUN: %clang_cl --target=x86_64-windows \
 // RUN:     /diasdkdir "%t/DIA SDK" \
 // RUN:     /vctoolsdir %t/VC/Tools/MSVC/27.1828.18284 \
 // RUN:     /winsdkdir "%t/Windows Kits/10" \


        


More information about the cfe-commits mailing list