- pkg-diff.sh: use option --speed-large-files for diffing

disassembler output

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=221
This commit is contained in:
Ruediger Oertel 2016-10-12 14:46:18 +00:00 committed by Git OBS Bridge
parent 449c47c49c
commit 89292ec82a
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 12 16:40:24 CEST 2016 - ro@suse.de
- pkg-diff.sh: use option --speed-large-files for diffing
disassembler output
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 21 07:18:37 UTC 2016 - olaf@aepfle.de Wed Sep 21 07:18:37 UTC 2016 - olaf@aepfle.de

View File

@ -21,7 +21,7 @@ Summary: Build Result Compare Script
License: GPL-2.0+ License: GPL-2.0+
Group: Development/Tools/Building Group: Development/Tools/Building
Url: https://github.com/openSUSE/build-compare Url: https://github.com/openSUSE/build-compare
Version: 20160921T091855.efc253f Version: 20161012T163739.10c9ac7
Release: 0 Release: 0
Source1: COPYING Source1: COPYING
Source2: same-build-result.sh Source2: same-build-result.sh

View File

@ -746,7 +746,7 @@ check_single_file()
monodis new/$file 2>/dev/null|sed -e 's/GUID = {.*}/GUID = { 42 }/;'> ${file2} monodis new/$file 2>/dev/null|sed -e 's/GUID = {.*}/GUID = { 42 }/;'> ${file2}
if ! cmp -s ${file1} ${file2}; then if ! cmp -s ${file1} ${file2}; then
echo "$file differs ($ftype)" echo "$file differs ($ftype)"
diff -u ${file1} ${file2} diff --speed-large-files -u ${file1} ${file2}
return 1 return 1
fi fi
else else
@ -770,7 +770,7 @@ check_single_file()
sed -i -e "s,old/,," $file1 sed -i -e "s,old/,," $file1
sed -i -e "s,new/,," $file2 sed -i -e "s,new/,," $file2
elfdiff= elfdiff=
if ! diff -u $file1 $file2 > $dfile; then if ! diff --speed-large-files -u $file1 $file2 > $dfile; then
echo "$file differs in assembler output" echo "$file differs in assembler output"
head -n 200 $dfile head -n 200 $dfile
elfdiff="1" elfdiff="1"