[PATCH] D71036: Use diff -b on zlib tests so they pass on Windows

Amy Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 14:57:33 PST 2019


akhuang created this revision.
akhuang added a reviewer: hubert.reinterpretcast.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71036

Files:
  llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test
  llvm/test/tools/llvm-profdata/roundtrip-compress.test


Index: llvm/test/tools/llvm-profdata/roundtrip-compress.test
===================================================================
--- llvm/test/tools/llvm-profdata/roundtrip-compress.test
+++ llvm/test/tools/llvm-profdata/roundtrip-compress.test
@@ -7,4 +7,4 @@
 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
Index: llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test
===================================================================
--- llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test
+++ llvm/test/tools/llvm-profdata/profile-symbol-list-compress.test
@@ -3,4 +3,4 @@
 ; 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71036.232221.patch
Type: text/x-patch
Size: 1449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191204/1ac56ec3/attachment.bin>


More information about the llvm-commits mailing list