[diffoscope] 01/01: Improve diffoscope behaviour for .changes
Levente Polyak
levente at leventepolyak.net
Tue Aug 23 22:15:09 CEST 2016
On 08/23/2016 09:55 PM, Jérémy Bobbio wrote:
> This is an automated email from the git hooks/post-receive script.
>
> lunar pushed a commit to branch master
> in repository diffoscope.
>
> commit c61f41c5128094508d6fff8b746cecc3841f6b27
> Author: Satyam Zode <satyamzode at gmail.com>
> Date: Wed Aug 24 00:11:38 2016 +0530
>
> Improve diffoscope behaviour for .changes
>
> Being able to know details about the build process is useful
> when understanding why two different builds had not come up
> with the same output. It may highlight which aspects of the
> build environment were different.
>
> In the particular context of comparing .changes, we know
> that if all files listed are identical except the .buildinfo
> file, the differences in the .buildinfo files are irrelevant.
>
> We thus ignore .buildinfo differences if all the files
> except .buildinfo files referenced in `Files` field and all
> other fields of .changes are identical.
That doesn't seem to pass/skip properly without having python-debian:
===================================================================================================================================
FAILURES
===================================================================================================================================
______________________________________________________________________________________________________________
test_dot_changes_no_differences_exclude_buildinfo
_______________________________________________________________________________________________________________
dot_changes1 = <<class 'abc.DotChangesFile'>
/tmp/pytest-of-anthraxx/pytest-53/test_dot_changes_no_difference1/a/test_1.changes>,
dot_changes3 = <<class 'abc.DotChangesFile'>
/tmp/pytest-of-anthraxx/pytest-53/test_dot_changes_no_difference1/c/test_3.changes>
def test_dot_changes_no_differences_exclude_buildinfo(dot_changes1,
dot_changes3):
difference = dot_changes1.compare(dot_changes3)
> assert difference is None
E assert <Difference
/tmp/pytest-of-anthraxx/pytest-53/test_dot_changes_no_difference1/a/test_1.changes
--
/tmp/pytest-of-anthraxx/pytest-53/test_dot_changes_no_difference1/c/test_3.changes
[]> is None
tests/comparators/test_debian.py:143: AssertionError
More information about the diffoscope
mailing list