[llvm] 23e63a9 - Use diff -b on zlib tests so they pass on Windows
Amy Huang via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 5 11:33:24 PST 2019
Author: Amy Huang
Date: 2019-12-05T11:32:58-08:00
New Revision: 23e63a906d0387d5ac7e4d3a57401f016b14c677
URL: https://github.com/llvm/llvm-project/commit/23e63a906d0387d5ac7e4d3a57401f016b14c677
DIFF: https://github.com/llvm/llvm-project/commit/23e63a906d0387d5ac7e4d3a57401f016b14c677.diff
LOG: 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
Added:
Modified:
llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test
llvm/test/tools/llvm-profdata/roundtrip-compress.test
Removed:
################################################################################
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 66b0543d7a41..b445695c8e8e 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 7e495b6d9512..9de303e5c44c 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
More information about the llvm-commits
mailing list