Bug#761420: autopkgtest: needs_recommends should be considered when reusing testbed between tests

Niko Tyni ntyni at debian.org
Sat Sep 13 18:45:07 UTC 2014


Package: autopkgtest
Version: 3.5

It looks like there's an optimization that makes the test bed
get re-used if there are two tests with the same dependencies.
This optimization should take the needs-recommends restriction
into account, but it currently doesn't.

This is affecting at least libdatetime-timezone-perl_1:1.74-3+2014g 
(not yet tested on ci.debian.net), where the 'runtime-deps-and-recommends'
test is failing because the recommended libdatetime-perl doesn't get
installed.

I'm attaching a patch that adds two test cases for this. Please
note that while I used cpp-doc as the target of the recommendation
to stay consistent with the needs_recommends test, it should
probably be replaced with something in the main archive.
See #761417.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Test-cases-for-needs_recommends-bug.patch
Type: text/x-diff
Size: 2674 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20140913/95ece7f3/attachment.patch>


More information about the autopkgtest-devel mailing list