[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#515137: lintian: source-contains-prebuilt-binary false positive on files in test suite



Zack Weinberg wrote:
[...]
> P: source-contains-prebuilt-binary tests/diff_a_binary_file/binary
>  
> This file is in the upstream testsuite; it's not a complete executable,
> although it does have a valid ELF header (it appears to be the first 1024
> bytes of some random program one of the developers had lying around).

Why would a binary file be shipped? can't a simple hello world program be
used, or something already installed on the system?

> May I suggest that this diagnostic be suppressed for files which are
> *both* not installed 

Hmm, that wouldn't make much sense, and lintian can't tell whether a file is
installed or not.

> *and* whose pathname relative to the top level of 
> the source contains the word "tests" or "testsuite"?

I would still question the need of a binary in the test suite even when it
just "looks like" one, but anything under tests.* could indeed be ignored.
I'll leave that up the maintainers :)

Cheers,
-- 
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net





Reply to: