[diffoscope] 01/01: Skip two more tests requiring a x86-64-capable binutils

Mattia Rizzolo mattia at debian.org
Tue Jan 17 11:34:48 UTC 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository diffoscope.

commit eeebbaa8a2c7c44e98b4a95199181084fee7d8cc
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Tue Jan 17 12:34:42 2017 +0100

    Skip two more tests requiring a x86-64-capable binutils
    
    This should fix the tests on ppc64el
---
 tests/comparators/test_elf.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/comparators/test_elf.py b/tests/comparators/test_elf.py
index e31200e..ce08386 100644
--- a/tests/comparators/test_elf.py
+++ b/tests/comparators/test_elf.py
@@ -127,6 +127,7 @@ def dbgsym_differences(dbgsym_dir1, dbgsym_dir2):
     return dbgsym_dir1.compare(dbgsym_dir2)
 
 @skip_unless_tools_exist('readelf', 'objdump', 'objcopy')
+ at skip_if_binutils_does_not_support_x86()
 @pytest.mark.skipif(miss_debian_module, reason='debian module is not installed')
 def test_differences_with_dbgsym(dbgsym_differences):
     output_text(dbgsym_differences, print)
@@ -137,6 +138,7 @@ def test_differences_with_dbgsym(dbgsym_differences):
     assert 'test-cases/dbgsym/package/test.c:2' in bin_details.details[1].unified_diff
 
 @skip_unless_tools_exist('readelf', 'objdump', 'objcopy')
+ at skip_if_binutils_does_not_support_x86()
 @pytest.mark.skipif(miss_debian_module, reason='debian module is not installed')
 def test_original_gnu_debuglink(dbgsym_differences):
     bin_details = dbgsym_differences.details[2].details[0].details[0]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git



More information about the Reproducible-commits mailing list