File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 12
12
// RUN: llvm-profdata merge -o %t-1.profdata --binary-file=%t-1.exe %t-1.profraw
13
13
// RUN: llvm-cov report --instr-profile=%t-1.profdata %t-1.exe > %t-1.report
14
14
// RUN: llvm-cov show --instr-profile=%t-1.profdata %t-1.exe > %t-1.show
15
- // RUN: diff %t.normal.profdata %t-1.profdata
15
+ // RUN: diff <(llvm-profdata show --all-functions --counts %t.normal.profdata) <(llvm-profdata show --all-functions --counts %t-1.profdata)
16
16
// RUN: diff %t.normal.report %t-1.report
17
17
// RUN: diff %t.normal.show %t-1.show
18
18
22
22
// RUN: llvm-profdata merge -o %t-2.profdata --binary-file=%t-1.exe %t-2.profraw
23
23
// RUN: llvm-cov report --instr-profile=%t-2.profdata %t-1.exe > %t-2.report
24
24
// RUN: llvm-cov show --instr-profile=%t-2.profdata %t-1.exe > %t-2.show
25
- // RUN: diff %t.normal.profdata %t-2.profdata
25
+ // RUN: diff <(llvm-profdata show --all-functions --counts %t.normal.profdata) <(llvm-profdata show --all-functions --counts %t-2.profdata)
26
26
// RUN: diff %t.normal.report %t-2.report
27
27
// RUN: diff %t.normal.show %t-2.show
28
28
39
39
// RUN: llvm-profdata merge -o %t-4.profdata --binary-file=%t-1.exe %t.profdir
40
40
// RUN: llvm-cov report --instr-profile=%t-4.profdata %t-1.exe > %t-4.report
41
41
// RUN: llvm-cov show --instr-profile=%t-4.profdata %t-1.exe > %t-4.show
42
- // RUN: diff %t.normal.merged.profdata %t-4.profdata
42
+ // RUN: diff <(llvm-profdata show --all-functions --counts %t.normal.merged.profdata) <(llvm-profdata show --all-functions --counts %t-4.profdata)
43
43
// RUN: diff %t.normal.merged.report %t-4.report
44
44
// RUN: diff %t.normal.merged.show %t-4.show
45
45
You can’t perform that action at this time.
0 commit comments