Author: Argyrios Kyrtzidis
Date: 2022-07-18T16:55:07-07:00
New Revision: d1b58cada61aa8bc44d8e8ef9c23ed12ef7b549b

URL: 
https://github.com/llvm/llvm-project/commit/d1b58cada61aa8bc44d8e8ef9c23ed12ef7b549b
DIFF: 
https://github.com/llvm/llvm-project/commit/d1b58cada61aa8bc44d8e8ef9c23ed12ef7b549b.diff

LOG: [unittests/Tooling/DependencyScannerTest] Add a target triple for 
`ScanDepsWithFS` test

This should fix the `clang-ppc64-aix` builder.

Added: 
    

Modified: 
    clang/unittests/Tooling/DependencyScannerTest.cpp

Removed: 
    


################################################################################
diff  --git a/clang/unittests/Tooling/DependencyScannerTest.cpp 
b/clang/unittests/Tooling/DependencyScannerTest.cpp
index 0e2498097e41b..abcc2c787b0d0 100644
--- a/clang/unittests/Tooling/DependencyScannerTest.cpp
+++ b/clang/unittests/Tooling/DependencyScannerTest.cpp
@@ -207,7 +207,11 @@ TEST(DependencyScanner, 
ScanDepsReuseFilemanagerHasInclude) {
 }
 
 TEST(DependencyScanner, ScanDepsWithFS) {
-  std::vector<std::string> CommandLine = {"clang", "-c", "test.cpp",
+  std::vector<std::string> CommandLine = {"clang",
+                                          "-target",
+                                          "x86_64-apple-macosx10.7",
+                                          "-c",
+                                          "test.cpp",
                                           "-o"
                                           "test.cpp.o"};
   StringRef CWD = "/root";


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to