Skip to content

Commit

Permalink
Add more diff -b to roundtrip-compress.test
Browse files Browse the repository at this point in the history
It was missing on the first test invocation. The flag is necessary to
ignore line-ending differences on Windows.
  • Loading branch information
zmodem committed Dec 10, 2019
1 parent b63c35e commit bfb53c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-profdata/roundtrip-compress.test
Expand Up @@ -2,7 +2,7 @@ REQUIRES: zlib
# Round trip from text --> compressed extbinary --> text
RUN: llvm-profdata merge --sample --extbinary -compress-all-sections -output=%t.1.profdata %S/Inputs/sample-profile.proftext
RUN: llvm-profdata merge --sample --text -output=%t.1.proftext %t.1.profdata
RUN: diff %t.1.proftext %S/Inputs/sample-profile.proftext
RUN: diff -b %t.1.proftext %S/Inputs/sample-profile.proftext
# Round trip from text --> binary --> compressed extbinary --> text
RUN: llvm-profdata merge --sample --binary -output=%t.2.profdata %S/Inputs/sample-profile.proftext
RUN: llvm-profdata merge --sample --extbinary -compress-all-sections -output=%t.3.profdata %t.2.profdata
Expand Down

0 comments on commit bfb53c5

Please sign in to comment.