[clang-cl] Fix test after 951f362e256 on systems where default target isn't x86_64
authorNico Weber <thakis@chromium.org>
Thu, 16 Sep 2021 12:43:58 +0000 (08:43 -0400)
committerNico Weber <thakis@chromium.org>
Thu, 16 Sep 2021 12:43:58 +0000 (08:43 -0400)
clang/test/Driver/cl-sysroot.cpp

index 46edf3a..eb701f2 100644 (file)
@@ -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" \