DEP8 tests using the built package source
Jakub Wilk
jwilk at debian.org
Wed Mar 19 10:47:02 UTC 2014
[Adding autopkgtest-devel@ back to To. I fear that Martin is not
subscribed to -mentors at .]
* Andreas Tille <andreas at an3as.eu>, 2014-03-19, 10:47:
>>autopkgtest calls dpkg-buildpackage to do the actual package build, so
>>for adding this to autopkgtest explicitly, we could add a flag for
>>that and call dpkg-buildpackage --target.
>
>Hmmmm, it seems I had a bad preconception about autopkgtest: We do not
>test against a binary package?
Short answer: hopefully we do!
Long answer:
You can declare that a test needs to be run from a built source tree.
Then the test runner will build the package. But that doesn't
necessarily mean that the built binaries will be used for anything.
Now, adt-run(1) has multiple modes of operation. In some of them the
built binaries are used to satisfy tests' dependencies, in others
packages from the archive are used. (This is super confusing. :/)
I hope that ci.debian.net is configured in such a way it uses binary
packages from the archive.
--
Jakub Wilk
More information about the autopkgtest-devel
mailing list