Bug#515137: lintian: source-contains-prebuilt-binary false positive on files in test suite
Package: lintian
Version: 2.2.5
Severity: minor
Playing around with the new pedantic diagnostics, I noticed this one:
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).
May I suggest that this diagnostic be suppressed for files which are
*both* not installed *and* whose pathname relative to the top level of
the source contains the word "tests" or "testsuite"?
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lintian depends on:
ii binutils 2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii diffstat 1.46-1 produces graph of changes introduc
ii dpkg-dev 1.14.25 Debian package development tools
ii file 4.26-2 Determines file type using "magic"
ii gettext 0.17-6 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libipc-run-perl 0.82-1 Perl module for running processes
ii libparse-debianchan 1.1.1-2 parse Debian changelogs and output
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii liburi-perl 1.37+dfsg-1 Manipulates and accesses URI strin
ii man-db 2.5.2-4 on-line manual pager
ii perl [libdigest-sha 5.10.0-19 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
pn libtext-template-perl <none> (no description available)
ii man-db 2.5.2-4 on-line manual pager
-- no debconf information
Reply to: