Skip to content

Commit

Permalink
As Eric pointed out, even a Debug build should be equal. Leave the fl…
Browse files Browse the repository at this point in the history
…ag that can turn off comparisons though.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153927 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
isanbard committed Apr 3, 2012
1 parent 9dd16d4 commit cbece8c
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions utils/release/test-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -437,16 +437,14 @@ for Flavor in $Flavors ; do
# Compare .o files between Phase2 and Phase3 and report which ones
# differ.
if [ "$do_compare" = "yes" ]; then
if [ "$Flavor" = "Release" -o "$Flavor" = "Release-64" ]; then
echo
echo "# Comparing Phase 2 and Phase 3 files"
for o in `find $llvmCore_phase2_objdir -name '*.o'` ; do
p3=`echo $o | sed -e 's,Phase2,Phase3,'`
if ! cmp --ignore-initial=16 $o $p3 > /dev/null 2>&1 ; then
echo "file `basename $o` differs between phase 2 and phase 3"
fi
done
fi
echo
echo "# Comparing Phase 2 and Phase 3 files"
for o in `find $llvmCore_phase2_objdir -name '*.o'` ; do
p3=`echo $o | sed -e 's,Phase2,Phase3,'`
if ! cmp --ignore-initial=16 $o $p3 > /dev/null 2>&1 ; then
echo "file `basename $o` differs between phase 2 and phase 3"
fi
done
fi
fi

Expand Down

0 comments on commit cbece8c

Please sign in to comment.