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

Bug#908915: Several tests fail (not skipped) without certain packages installed



Josh Triplett:
> Package: lintian
> Version: 2.5.103
> Severity: normal
> 
> When trying to run the lintian testsuite, I got several test failures:
> 
> Failed tests (6)
>     tests::binaries-missing-depends-on-numpy-abi
>     tests::debhelper-dh-quilt-addon-but-quilt-source-format
>     tests::debhelper-dh-quilt-addon-but-quilt-source-format-unrel
>     tests::debhelper-dh-with-quilt
>     tests::rules-including-deprecated-makefiles
>     tests::rules-missing-targets-with-known-includes
> 
> Looking at the log, these seem to fail without certain packages
> installed. I'm not sure if the bug is that those tests lack
> Test-Depends, or in some cases if the tests shouldn't be trying to
> build.
> 
> For example, rules-missing-targets-with-known-includes fails due to
> missing /usr/share/javahelper/java-vars.mk:
> 
> [...]
> 
> And rules-including-deprecated-makefiles fails due to missing
> /usr/share/cdbs/1/rules/simple-patchsys.mk:
> 
> [...]
> 
> Should these tests use Test-Depends, or for some of these tests should
> lintian just build a source package and check that without trying to
> build binary packages?
> 
> [...]
Hi,

Both cdbs and javahelper are in the Build-Depends of lintian (marked
with <!nocheck>).  Just to be sure, have you installed *all* the
build-depends of lintian (including those marked with "<!nocheck>")?

Note: Test-Depends is used for skipping tests instead of adding a
Build-Depends to lintian itself (e.g. to aid backporting).  It should
not duplicate the lintian Build-Depends field.

Thanks,
~Niels


Reply to: