From: Nico Weber Date: Thu, 16 Sep 2021 12:43:58 +0000 (-0400) Subject: [clang-cl] Fix test after 951f362e256 on systems where default target isn't x86_64 X-Git-Tag: upstream/15.0.7~31344 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05ea321f716390abda1632cca71dc9441662cf62;p=platform%2Fupstream%2Fllvm.git [clang-cl] Fix test after 951f362e256 on systems where default target isn't x86_64 --- diff --git a/clang/test/Driver/cl-sysroot.cpp b/clang/test/Driver/cl-sysroot.cpp index 46edf3a..eb701f2 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" \