File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 83
83
// COMBINED: remark: compile job cache miss for '[[T1_CACHE_KEY]]'
84
84
// COMBINED-NEXT: remark: compile job cache miss for '[[T2_CACHE_KEY]]'
85
85
86
- // RUN: clang-scan-deps -compilation-database %t/cdb.json -cas-path %t/cas -format experimental-tree -emit-cas-compdb | FileCheck %s -DPREFIX=%/t -check-prefix=COMPDB
86
+ // RUN: clang-scan-deps -compilation-database %t/cdb.json -cas-path %t/cas -format experimental-tree -emit-cas-compdb | FileCheck %s -DPREFIX=%/t -DCLANG=%clang - check-prefix=COMPDB
87
87
// COMPDB: [
88
88
// COMPDB: {
89
89
// COMPDB: "file": "[[PREFIX]]/t1.c",
90
90
// COMPDB: "directory": "[[PREFIX]]",
91
91
// COMPDB: "arguments": [
92
- // COMPDB: "clang ",
92
+ // COMPDB: "[[CLANG]] ",
93
93
// COMPDB: "-cc1",
94
94
// COMPDB: "-fcas-path",
95
95
// COMPDB: "[[PREFIX]]/cas",
Original file line number Diff line number Diff line change 27
27
// RUN: echo "FULL DEPS START" >> %t/full.txt
28
28
// RUN: cat %t/deps.json | sed 's:\\\\\?:/:g' >> %t/full.txt
29
29
30
- // RUN: FileCheck %s -DPREFIX=%/t -check-prefix=FULL -input-file %t/full.txt
30
+ // RUN: FileCheck %s -DPREFIX=%/t -DCLANG=%clang - check-prefix=FULL -input-file %t/full.txt
31
31
32
32
// Capture the tree id from experimental-include-tree ; ensure that it matches
33
33
// the result from experimental-full.
57
57
// FULL-NEXT: "t.c"
58
58
// FULL-NOT: "t.c"
59
59
// FULL: ]
60
- // FULL: "executable": "clang "
60
+ // FULL: "executable": "[[CLANG]] "
61
61
// FULL: "file-deps": [
62
62
// FULL-NEXT: "[[PREFIX]]/t.c"
63
63
// FULL-NEXT: "[[PREFIX]]/t.h"
Original file line number Diff line number Diff line change 36
36
// RUN: echo "FULL DEPS START" >> %t/full.txt
37
37
// RUN: cat %t/deps.json | sed 's:\\\\\?:/:g' >> %t/full.txt
38
38
39
- // RUN: FileCheck %s -DPREFIX=%/t -check-prefix=FULL -input-file %t/full.txt
39
+ // RUN: FileCheck %s -DPREFIX=%/t -DCLANG=%clang - check-prefix=FULL -input-file %t/full.txt
40
40
41
41
// Capture the tree id from experimental-include-tree ; ensure that it matches
42
42
// the result from experimental-full.
67
67
// FULL-NEXT: "t.c"
68
68
// FULL-NOT: "t.c"
69
69
// FULL: ]
70
- // FULL: "executable": "clang "
70
+ // FULL: "executable": "[[CLANG]] "
71
71
// FULL: "file-deps": [
72
72
// FULL-NEXT: "[[PREFIX]]/t.c"
73
73
// FULL-NEXT: "[[PREFIX]]/top.h"
You can’t perform that action at this time.
0 commit comments