From 608c299a9082b44145d604af4056d9f419f55fe8 Mon Sep 17 00:00:00 2001 From: Kadir Cetinkaya Date: Wed, 26 Jun 2019 08:39:42 +0000 Subject: [PATCH] [clang][Tooling] Fix windows build-bots after rL364386 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364396 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Tooling/CompilationDatabaseTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unittests/Tooling/CompilationDatabaseTest.cpp b/unittests/Tooling/CompilationDatabaseTest.cpp index d86c9bf79a..da7ae09917 100644 --- a/unittests/Tooling/CompilationDatabaseTest.cpp +++ b/unittests/Tooling/CompilationDatabaseTest.cpp @@ -826,12 +826,12 @@ protected: TEST_F(TargetAndModeTest, TargetAndMode) { add("foo.cpp", "clang-cl", ""); - add("bar.cpp", "x86_64-linux-clang", ""); + add("bar.cpp", "clang++", ""); EXPECT_EQ(getCommand("foo.cpp"), "clang-cl --driver-mode=cl foo.cpp -D foo.cpp"); EXPECT_EQ(getCommand("bar.cpp"), - "x86_64-linux-clang -target x86_64-linux bar.cpp -D bar.cpp"); + "clang++ --driver-mode=g++ bar.cpp -D bar.cpp"); } } // end namespace tooling -- 2.40.0