[DRE-maint] Bug#637917: Bug#637917: Bug#637917: gem2deb: should integrate with autopkgtest / DEP8
Lucas Nussbaum
lucas at lucas-nussbaum.net
Wed Aug 24 05:15:31 UTC 2011
On 20/08/11 at 12:50 -0700, Antonio Terceiro wrote:
> Lucas Nussbaum escreveu isso aí:
> > Package: gem2deb
> > Version: 0.2.6
> > Severity: wishlist
> >
> > Hi,
> >
> > It would be great if gem2deb made it easier to create packages that can
> > be tested by autopkgtest. See http://dep.debian.net/deps/dep8/
> >
> > I don't have any specific idea about that, but it's something that we
> > should monitor, and for which we could be early adopters.
>
> We could automatically generate a debian/tests/control in a way that
> gem2deb's test_runner is called with an argument that makes it run the
> automated tests in the packages without any $LOAD_PATH manipulation, so
> that the tests would run against the installed code.
I'm wondering whether we should copy the tests to a temporary place, to
avoid LOAD_PATH manipulations with idioms such as:
$:.unshift '../lib'
- Lucas
More information about the Pkg-ruby-extras-maintainers
mailing list