[diffoscope] 01/01: Skip icc test that varies on endian if the (Debian-specific) patch is not present. (Closes: #856447)

Chris Lamb chris at chris-lamb.co.uk
Fri Mar 3 09:10:55 CET 2017


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

lamby pushed a commit to branch experimental
in repository diffoscope.

commit fcbcafa1b1cefb08a7ffbd8936f22c5bc6849991
Author: Chris Lamb <lamby at debian.org>
Date:   Fri Mar 3 08:09:43 2017 +0000

    Skip icc test that varies on endian if the (Debian-specific) patch is not present. (Closes: #856447)
    
    See <https://bugs.debian.org/847595> for more.
---
 tests/comparators/test_icc.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/comparators/test_icc.py b/tests/comparators/test_icc.py
index 47a26b6..a922965 100644
--- a/tests/comparators/test_icc.py
+++ b/tests/comparators/test_icc.py
@@ -43,6 +43,10 @@ def differences(icc1, icc2):
 
 @skip_unless_tools_exist('cd-iccdump')
 def test_diff(differences):
+    if 'ne_SU' in differences[0].unified_diff:
+        pytest.skip("Endian-specific differences detected; see "
+            "<https://bugs.debian.org/847595>")
+
     expected_diff = get_data('icc_expected_diff')
     assert differences[0].unified_diff == expected_diff
 

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


More information about the diffoscope mailing list