Bug#761420: autopkgtest: needs_recommends should be considered when reusing testbed between tests
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
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.
Niko Tyni ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2674 bytes
Desc: not available