Skip to content

Commit 1c1eaf7

Browse files
[llvm-profdata] Make tests more readable (NFC)
This patch splits a couple of lines of printf into four for readability so that each corresponds to one field or padding. They correspond to NumCounters, NumValueSites, NumBitmapBytes, and padding, respectively.
1 parent ce02357 commit 1c1eaf7

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

llvm/test/tools/llvm-profdata/raw-64-bits-le.test

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,21 @@ RUN: printf '\0\0\4\0\1\0\0\0' >> %t
1919
RUN: printf '\0\0\4\0\3\0\0\0' >> %t
2020
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
2121
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
22-
RUN: printf '\1\0\0\0\0\0\0\0' >> %t
23-
RUN: printf '\3\0\0\0\0\0\0\0' >> %t
22+
RUN: printf '\1\0\0\0' >> %t
23+
RUN: printf '\0\0\0\0' >> %t
24+
RUN: printf '\3\0\0\0' >> %t
25+
RUN: printf '\0\0\0\0' >> %t
2426

2527
RUN: printf '\067\265\035\031\112\165\023\344' >> %t
2628
RUN: printf '\02\0\0\0\0\0\0\0' >> %t
2729
RUN: printf '\xc8\xff\3\0\1\0\0\0' >> %t
2830
RUN: printf '\xc3\xff\3\0\3\0\0\0' >> %t
2931
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
3032
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
31-
RUN: printf '\02\0\0\0\0\0\0\0' >> %t
32-
RUN: printf '\1\0\0\0\0\0\0\0' >> %t
33+
RUN: printf '\02\0\0\0' >> %t
34+
RUN: printf '\0\0\0\0' >> %t
35+
RUN: printf '\1\0\0\0' >> %t
36+
RUN: printf '\0\0\0\0' >> %t
3337

3438
RUN: printf '\023\0\0\0\0\0\0\0' >> %t
3539
RUN: printf '\067\0\0\0\0\0\0\0' >> %t

0 commit comments

Comments
 (0)