Skip to content

Commit 0f1ddae

Browse files
committed
[unittests/Tooling/DependencyScannerTest] Add a target triple for ScanDepsWithFS test
This should fix the `clang-ppc64-aix` builder.
1 parent db9d8fb commit 0f1ddae

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

clang/unittests/Tooling/DependencyScannerTest.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,11 @@ TEST(DependencyScanner, ScanDepsReuseFilemanagerHasInclude) {
207207
}
208208

209209
TEST(DependencyScanner, ScanDepsWithFS) {
210-
std::vector<std::string> CommandLine = {"clang", "-c", "test.cpp",
210+
std::vector<std::string> CommandLine = {"clang",
211+
"-target",
212+
"x86_64-apple-macosx10.7",
213+
"-c",
214+
"test.cpp",
211215
"-o"
212216
"test.cpp.o"};
213217
StringRef CWD = "/root";

0 commit comments

Comments
 (0)