Bug#851588: diffoscope: skip tests if binutils can't handle the object file format

Mattia Rizzolo mattia at debian.org
Mon Jan 16 17:06:48 UTC 2017


source: diffoscope
version: 68
tags: patch

So, I finally managed to look into the tests failures were have been
seeing in ubuntu's autopkgtest in armhf (and probably also ppc64el and
s390x, but I didn't test for that).
As supposed, the reason is that we're trying to disassemble x86-64
binaries, and the installed multiarch can't deal with them; remember
that the failing tests happen during the 2 py.test call, run without
_any_ recommended package installed.

Now, I came up with a patch, but my python foo has its limit, and I
think somebody might improve it quite some (e.g. please tell me how I
can write a decorated fuction that doesn't take any value as input and
still returns only pytest.mark.skipif()... what I did is uglyugly), so
I'm filing it as a bug here instead of committing; see the attachment :)

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Skip-some-tests-involving-readelf-objdump-nm-if-the-.patch
Type: text/x-diff
Size: 4703 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20170116/70b91195/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20170116/70b91195/attachment.sig>


More information about the Reproducible-builds mailing list