Skip to content

Commit

Permalink
[clang][deps] Remove checks that were just for exhaustiveness
Browse files Browse the repository at this point in the history
Instead of checking all the paths, just ensure the one we care about is
correct. On a particular platform one of the paths seems to have been
more canonical than we were expecting, which is fine.
  • Loading branch information
benlangmuir committed Nov 15, 2022
1 parent 5b67bce commit dcfb250
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions clang/test/ClangScanDeps/modules-symlink-dir-from-module.c
Expand Up @@ -19,38 +19,11 @@
// CHECK: "modules": [
// CHECK: {
// CHECK: "command-line": [
// CHECK-NOT: ]
// CHECK: "-fmodule-map-file=[[PREFIX]]/include/module/module.modulemap"
// CHECK: ]
// CHECK: "name": "Foo"
// CHECK: }
// CHECK: {
// CHECK: "command-line": [
// FIXME: canonicalize this path
// CHECK: "-fmodule-map-file=[[PREFIX]]/include/symlink-to-module/module.modulemap"
// CHECK: ]
// CHECK: "name": "Foo_Private"
// CHECK: }
// CHECK: {
// CHECK: "command-line": [
// CHECK: "[[PREFIX]]/include/module/module.modulemap"
// CHECK: ]
// CHECK: "name": "Mod"
// CHECK: }
// CHECK: {
// CHECK: "command-line": [
// FIXME: canonicalize this path
// CHECK: "-fmodule-map-file=[[PREFIX]]/include/symlink-to-module/module.modulemap"
// CHECK: ]
// CHECK: "name": "Other"
// CHECK: }
// CHECK: {
// CHECK: "command-line": [
// FIXME: canonicalize this path
// CHECK: "-fmodule-map-file=[[PREFIX]]/include/symlink-to-module/module.modulemap"
// CHECK: ]
// CHECK: "name": "Test"
// CHECK: }
// CHECK: ]

//--- cdb.json.in
[{
Expand Down

0 comments on commit dcfb250

Please sign in to comment.