[llvm] bfb53c5 - Add more diff -b to roundtrip-compress.test

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 01:32:28 PST 2019


Author: Hans Wennborg
Date: 2019-12-10T10:32:16+01:00
New Revision: bfb53c55b8a825f6ec6bb4170eb80afeaef0fab8

URL: https://github.com/llvm/llvm-project/commit/bfb53c55b8a825f6ec6bb4170eb80afeaef0fab8
DIFF: https://github.com/llvm/llvm-project/commit/bfb53c55b8a825f6ec6bb4170eb80afeaef0fab8.diff

LOG: Add more diff -b to roundtrip-compress.test

It was missing on the first test invocation. The flag is necessary to
ignore line-ending differences on Windows.

Added: 
    

Modified: 
    llvm/test/tools/llvm-profdata/roundtrip-compress.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-profdata/roundtrip-compress.test b/llvm/test/tools/llvm-profdata/roundtrip-compress.test
index 9de303e5c44c..cf0c344e7874 100644
--- a/llvm/test/tools/llvm-profdata/roundtrip-compress.test
+++ b/llvm/test/tools/llvm-profdata/roundtrip-compress.test
@@ -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


        


More information about the llvm-commits mailing list