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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org