mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-13 03:12:46 +00:00
[clang][Tooling] Fix windows build-bots after rL364386
llvm-svn: 364396
This commit is contained in:
parent
a5bbe8c8b9
commit
0a43d1fa71
@ -826,12 +826,12 @@ protected:
|
|||||||
|
|
||||||
TEST_F(TargetAndModeTest, TargetAndMode) {
|
TEST_F(TargetAndModeTest, TargetAndMode) {
|
||||||
add("foo.cpp", "clang-cl", "");
|
add("foo.cpp", "clang-cl", "");
|
||||||
add("bar.cpp", "x86_64-linux-clang", "");
|
add("bar.cpp", "clang++", "");
|
||||||
|
|
||||||
EXPECT_EQ(getCommand("foo.cpp"),
|
EXPECT_EQ(getCommand("foo.cpp"),
|
||||||
"clang-cl --driver-mode=cl foo.cpp -D foo.cpp");
|
"clang-cl --driver-mode=cl foo.cpp -D foo.cpp");
|
||||||
EXPECT_EQ(getCommand("bar.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
|
} // end namespace tooling
|
||||||
|
Loading…
x
Reference in New Issue
Block a user