[clang][Tooling] Fix windows build-bots after rL364386

llvm-svn: 364396
This commit is contained in:
Kadir Cetinkaya 2019-06-26 08:39:42 +00:00
parent a5bbe8c8b9
commit 0a43d1fa71

View File

@ -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