From: Ben Langmuir Date: Tue, 15 Nov 2022 22:18:59 +0000 (-0800) Subject: [clang][deps] Remove checks that were just for exhaustiveness X-Git-Tag: upstream/17.0.6~27565 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dcfb25078c2629450b393e696b97699990721a9f;p=platform%2Fupstream%2Fllvm.git [clang][deps] Remove checks that were just for exhaustiveness 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. --- diff --git a/clang/test/ClangScanDeps/modules-symlink-dir-from-module.c b/clang/test/ClangScanDeps/modules-symlink-dir-from-module.c index 5dde770..d1f7479 100644 --- a/clang/test/ClangScanDeps/modules-symlink-dir-from-module.c +++ b/clang/test/ClangScanDeps/modules-symlink-dir-from-module.c @@ -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 [{