Skip to content

Commit

Permalink
[clang][deps] Fix test on AIX
Browse files Browse the repository at this point in the history
The "-fno-integrated-as" on AIX expands the driver invocation into multiple jobs. This patch makes new test accommodates for that.
  • Loading branch information
jansvoboda11 committed Sep 26, 2022
1 parent dfaf7a2 commit 8df1f3b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions clang/test/ClangScanDeps/modules-header-sharing.m
Expand Up @@ -72,7 +72,7 @@
// CHECK: "translation-units": [
// CHECK-NEXT: {
// CHECK-NEXT: "commands": [
// CHECK-NEXT: {
// CHECK: {
// CHECK: "command-line": [
// CHECK: "-fmodule-map-file=[[PREFIX]]/frameworks/A.framework/Modules/module.modulemap",
// CHECK: "-fmodule-name=A",
Expand All @@ -84,10 +84,8 @@
// CHECK-NEXT: ],
// CHECK-NEXT: "input-file": "[[PREFIX]]/tu.m"
// CHECK-NEXT: }
// CHECK-NEXT: ]
// CHECK-NEXT: }
// CHECK-NEXT: ]
// CHECK-NEXT: }
// CHECK: ]
// CHECK: }

// RUN: %deps-to-rsp %t/result.json --module-name=B > %t/B.cc1.rsp
// RUN: %clang @%t/B.cc1.rsp
Expand Down

0 comments on commit 8df1f3b

Please sign in to comment.