Accepting request 434574 from openSUSE:Tools

- pkg-diff.sh: use option --speed-large-files for diffing
  disassembler output (bsc#1003528)

OBS-URL: https://build.opensuse.org/request/show/434574
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=99
This commit is contained in:
Dominique Leuenberger 2016-10-20 21:04:40 +00:00 committed by Git OBS Bridge
commit dbf4589f7f
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 (bsc#1003528)
-------------------------------------------------------------------
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+
Group: Development/Tools/Building
Url: https://github.com/openSUSE/build-compare
Version: 20160921T091855.efc253f
Version: 20161012T163739.10c9ac7
Release: 0
Source1: COPYING
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}
if ! cmp -s ${file1} ${file2}; then
echo "$file differs ($ftype)"
diff -u ${file1} ${file2}
diff --speed-large-files -u ${file1} ${file2}
return 1
fi
else
@ -770,7 +770,7 @@ check_single_file()
sed -i -e "s,old/,," $file1
sed -i -e "s,new/,," $file2
elfdiff=
if ! diff -u $file1 $file2 > $dfile; then
if ! diff --speed-large-files -u $file1 $file2 > $dfile; then
echo "$file differs in assembler output"
head -n 200 $dfile
elfdiff="1"