On Tue, May 05, 2015 at 01:30:06PM +0200, Lucas Nussbaum wrote: > Package: gem2deb > Version: 0.14 > Severity: minor > > Hi, > > By default, gem2deb generates a debian/ruby-tests.rake that looks like: > Gem2Deb::Rake::TestTask.new do |t| > t.test_files = FileList['test/**/*_test.rb'] > end > > This breaks with net-ssh, that names its tests test_*.rb > > It could also make sense to set "libs" to something sensible. > > So maybe it should generate something such as: > > Gem2Deb::Rake::TestTask.new do |t| > t.libs = ["lib", "test"]
the install location under debian/$pkg is already added to the $LOAD_PATH by the test runner, so you don't need/want lib/ there. But adding test/ is indeed useful. > t.test_files = FileList['test/**/*_test.rb'] FileList['test/**/test_*.rb'] > end Yes. I just pushed a fix for this to the git repository. -- Antonio Terceiro <[email protected]>
signature.asc
Description: Digital signature
_______________________________________________ Pkg-ruby-extras-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers
