[clang] d3804b8 - [clang][deps] Fix test failures on AIX

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 2 13:10:14 PST 2022


Author: Jan Svoboda
Date: 2022-12-02T13:10:07-08:00
New Revision: d3804b88e96e40300ec9993ed691bf2184932e29

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

LOG: [clang][deps] Fix test failures on AIX

Added: 
    

Modified: 
    clang/test/ClangScanDeps/modules-extern-submodule.c
    clang/test/ClangScanDeps/modules-extern-unrelated.m

Removed: 
    


################################################################################
diff  --git a/clang/test/ClangScanDeps/modules-extern-submodule.c b/clang/test/ClangScanDeps/modules-extern-submodule.c
index bf1d41c1c2b0..61cc722e84bc 100644
--- a/clang/test/ClangScanDeps/modules-extern-submodule.c
+++ b/clang/test/ClangScanDeps/modules-extern-submodule.c
@@ -115,10 +115,10 @@ module third {}
 // CHECK-NEXT:           ],
 // CHECK-NEXT:           "input-file": "[[PREFIX]]/tu.c"
 // CHECK-NEXT:         }
-// CHECK-NEXT:       ]
-// CHECK-NEXT:     }
-// CHECK-NEXT:   ]
-// CHECK-NEXT: }
+// CHECK:            ]
+// CHECK:          }
+// CHECK:        ]
+// CHECK:      }
 
 // RUN: %deps-to-rsp %t/result.json --module-name=third > %t/third.cc1.rsp
 // RUN: %deps-to-rsp %t/result.json --module-name=second > %t/second.cc1.rsp

diff  --git a/clang/test/ClangScanDeps/modules-extern-unrelated.m b/clang/test/ClangScanDeps/modules-extern-unrelated.m
index bcdd822e3e4e..442ee90aa183 100644
--- a/clang/test/ClangScanDeps/modules-extern-unrelated.m
+++ b/clang/test/ClangScanDeps/modules-extern-unrelated.m
@@ -120,10 +120,10 @@
 // CHECK-NEXT:           ],
 // CHECK-NEXT:           "input-file": "[[PREFIX]]/tu.m"
 // CHECK-NEXT:         }
-// CHECK-NEXT:       ]
-// CHECK-NEXT:     }
-// CHECK-NEXT:   ]
-// CHECK-NEXT: }
+// CHECK:            ]
+// CHECK:          }
+// CHECK:        ]
+// CHECK:      }
 
 // RUN: %deps-to-rsp --module-name=first %t/result.json > %t/first.cc1.rsp
 // RUN: %deps-to-rsp --module-name=first_other %t/result.json > %t/first_other.cc1.rsp


        


More information about the cfe-commits mailing list