[PATCH] D34989: test-release.sh: Fix phase2 and phase3 binary comparision

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 24 12:29:14 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL308912: test-release.sh: Fix phase2 and phase3 binary comparision (authored by tstellar).

Repository:
  rL LLVM

https://reviews.llvm.org/D34989

Files:
  llvm/trunk/utils/release/test-release.sh


Index: llvm/trunk/utils/release/test-release.sh
===================================================================
--- llvm/trunk/utils/release/test-release.sh
+++ llvm/trunk/utils/release/test-release.sh
@@ -562,7 +562,7 @@
             # case there are build paths in the debug info. On some systems,
             # sed adds a newline to the output, so pass $p3 through sed too.
             if ! cmp -s \
-                <(env LC_CTYPE=C sed -e 's,Phase2,Phase3,g' $p2) \
+                <(env LC_CTYPE=C sed -e 's,Phase2,Phase3,g' -e 's,Phase1,Phase2,g' $p2) \
                 <(env LC_CTYPE=C sed -e '' $p3) 16 16; then
                 echo "file `basename $p2` differs between phase 2 and phase 3"
             fi


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34989.107940.patch
Type: text/x-patch
Size: 725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170724/61a924e6/attachment.bin>


More information about the llvm-commits mailing list