Bug#975313: diffoscope test-depends on radare2, which is not in testing

Matthias Klose doko at debian.org
Wed Nov 25 07:13:40 GMT 2020


the patch committed in

https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/a615cc31a6e6d767a388ad3e074fc828703419d8

removed the test dependency, but the tests are still run:

=================================== FAILURES ===================================
________________________ test_obj_compare_non_existing _________________________

args2 = (), kwargs2 = {}

    def inner(*args2, **kwargs2):
        if args[0]:  # i.e. the condition of the skipif() is True
>           return pytest.fail(msg)
E           Failed: requires radare2 (try installing radare2)
(DIFFOSCOPE_FAIL_TESTS_ON_MISSING_TOOLS='apktool zipinfo pedump oggDump ppudump
cbfstool otool lipo')

args       = (True,)
args2      = ()
kwargs2    = {}
msg        = ('requires radare2 (try installing radare2) '
 "(DIFFOSCOPE_FAIL_TESTS_ON_MISSING_TOOLS='apktool zipinfo pedump oggDump "
 "ppudump cbfstool otool lipo')")

tests/utils/tools.py:84: Failed
_______________________________ test_ghidra_diff _______________________________

args2 = (), kwargs2 = {}

    def inner(*args2, **kwargs2):
        if args[0]:  # i.e. the condition of the skipif() is True
>           return pytest.fail(msg)
E           Failed: requires radare2 (try installing radare2)
(DIFFOSCOPE_FAIL_TESTS_ON_MISSING_TOOLS='apktool zipinfo pedump oggDump ppudump
cbfstool otool lipo')

args       = (True,)
args2      = ()
kwargs2    = {}
msg        = ('requires radare2 (try installing radare2) '
 "(DIFFOSCOPE_FAIL_TESTS_ON_MISSING_TOOLS='apktool zipinfo pedump oggDump "
 "ppudump cbfstool otool lipo')")

tests/utils/tools.py:84: Failed
______________________________ test_radare2_diff _______________________________

args2 = (), kwargs2 = {}

    def inner(*args2, **kwargs2):
        if args[0]:  # i.e. the condition of the skipif() is True
>           return pytest.fail(msg)
E           Failed: requires radare2 (try installing radare2)
(DIFFOSCOPE_FAIL_TESTS_ON_MISSING_TOOLS='apktool zipinfo pedump oggDump ppudump
cbfstool otool lipo')

args       = (True,)
args2      = ()
kwargs2    = {}
msg        = ('requires radare2 (try installing radare2) '
 "(DIFFOSCOPE_FAIL_TESTS_ON_MISSING_TOOLS='apktool zipinfo pedump oggDump "
 "ppudump cbfstool otool lipo')")

tests/utils/tools.py:84: Failed
=========================== short test summary info ============================
SKIPPED [1] tests/test_presenters.py:89: requires file (try installing file) >=
5.39 (5.38 detected)
SKIPPED [1] tests/comparators/test_apk.py:76: requires apktool (try installing
apktool) >= 2.5.0 (2.4.1-dirty detected)
SKIPPED [1] tests/comparators/test_cbfs.py:101: requires cbfstool
SKIPPED [1] tests/comparators/test_cbfs.py:106: requires cbfstool
SKIPPED [1] tests/comparators/test_cbfs.py:111: requires cbfstool
SKIPPED [1] tests/comparators/test_cbfs.py:123: requires cbfstool
SKIPPED [1] tests/comparators/test_cbfs.py:135: requires cbfstool
SKIPPED [1] tests/comparators/test_cbfs.py:143: requires cbfstool
SKIPPED [1] tests/comparators/test_macho.py:50: requires otool and lipo
SKIPPED [1] tests/comparators/test_macho.py:58: requires otool and lipo
SKIPPED [1] tests/comparators/test_utils.py:50: requires
SKIPPED [1] tests/comparators/test_utils.py:55: requires /missing
FAILED tests/comparators/test_elf_decompiler.py::test_obj_compare_non_existing
FAILED tests/comparators/test_elf_decompiler.py::test_ghidra_diff - Failed: r...
FAILED tests/comparators/test_elf_decompiler.py::test_radare2_diff - Failed: ...
============== 3 failed, 437 passed, 12 skipped in 222.28 seconds ==============
autopkgtest [00:58:08]: test pytest-with-recommends: -----------------------]



More information about the Reproducible-builds mailing list