From 23e63a906d0387d5ac7e4d3a57401f016b14c677 Mon Sep 17 00:00:00 2001 From: Amy Huang Date: Wed, 4 Dec 2019 14:47:05 -0800 Subject: [PATCH] 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 --- llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test | 2 +- llvm/test/tools/llvm-profdata/roundtrip-compress.test | 2 +- 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 66b0543..b445695 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 7e495b6..9de303e 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 -- 2.7.4