aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2022-12-02 13:09:50 -0800
committerJan Svoboda <jan_svoboda@apple.com>2022-12-02 13:10:07 -0800
commitd3804b88e96e40300ec9993ed691bf2184932e29 (patch)
tree76d0df7197fdc1b05023b674c4bb725b1aeca09e
parentf92c7506e3270dfef516e1ef5cac9a9ef1ff0adb (diff)
downloadllvm-d3804b88e96e40300ec9993ed691bf2184932e29.zip
llvm-d3804b88e96e40300ec9993ed691bf2184932e29.tar.gz
llvm-d3804b88e96e40300ec9993ed691bf2184932e29.tar.bz2
[clang][deps] Fix test failures on AIX
-rw-r--r--clang/test/ClangScanDeps/modules-extern-submodule.c8
-rw-r--r--clang/test/ClangScanDeps/modules-extern-unrelated.m8
2 files changed, 8 insertions, 8 deletions
diff --git a/clang/test/ClangScanDeps/modules-extern-submodule.c b/clang/test/ClangScanDeps/modules-extern-submodule.c
index bf1d41c..61cc722 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 bcdd822..442ee90 100644
--- a/clang/test/ClangScanDeps/modules-extern-unrelated.m
+++ b/clang/test/ClangScanDeps/modules-extern-unrelated.m
@@ -120,10 +120,10 @@ module second { header "second.h" }
// 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