summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-profdata
diff options
context:
space:
mode:
authorAmy Huang <akhuang@google.com>2019-12-04 14:47:05 -0800
committerAmy Huang <akhuang@google.com>2019-12-05 11:32:58 -0800
commit23e63a906d0387d5ac7e4d3a57401f016b14c677 (patch)
tree1d843d7db24aac5dde768f805224d924817e9268 /llvm/test/tools/llvm-profdata
parentde3dbc4f41665e60f53eb3d41fcadb2b322cf6f0 (diff)
downloadbcm5719-llvm-23e63a906d0387d5ac7e4d3a57401f016b14c677.tar.gz
bcm5719-llvm-23e63a906d0387d5ac7e4d3a57401f016b14c677.zip
Use diff -b on zlib tests so they pass on Windows
Reviewers: hubert.reinterpretcast Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D71036
Diffstat (limited to 'llvm/test/tools/llvm-profdata')
-rw-r--r--llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test2
-rw-r--r--llvm/test/tools/llvm-profdata/roundtrip-compress.test2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test b/llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test
index 66b0543d7a4..b445695c8e8 100644
--- a/llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test
+++ b/llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test
@@ -3,4 +3,4 @@ REQUIRES: zlib
; RUN: llvm-profdata merge -sample -extbinary -compress-all-sections -prof-sym-list=%S/Inputs/profile-symbol-list-2.text %S/Inputs/sample-profile.proftext -o %t.2.output
; RUN: llvm-profdata merge -sample -extbinary -compress-all-sections %t.1.output %t.2.output -o %t.3.output
; RUN: llvm-profdata show -sample -show-prof-sym-list %t.3.output > %t.4.output
-; RUN: diff %S/Inputs/profile-symbol-list.expected %t.4.output
+; RUN: diff -b %S/Inputs/profile-symbol-list.expected %t.4.output
diff --git a/llvm/test/tools/llvm-profdata/roundtrip-compress.test b/llvm/test/tools/llvm-profdata/roundtrip-compress.test
index 7e495b6d951..9de303e5c44 100644
--- a/llvm/test/tools/llvm-profdata/roundtrip-compress.test
+++ b/llvm/test/tools/llvm-profdata/roundtrip-compress.test
@@ -7,4 +7,4 @@ RUN: diff %t.1.proftext %S/Inputs/sample-profile.proftext
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
RUN: llvm-profdata merge --sample --text -output=%t.2.proftext %t.3.profdata
-RUN: diff %t.2.proftext %S/Inputs/sample-profile.proftext
+RUN: diff -b %t.2.proftext %S/Inputs/sample-profile.proftext
OpenPOWER on IntegriCloud