[DRE-maint] Tests fail on ruby-mustache

Cédric Boutillier cedric.boutillier at gmail.com
Sun Oct 9 14:30:39 UTC 2011


On Sun, Oct 09, 2011 at 03:18:40PM +0200, Martin Ueding wrote:
> Okay, I generated the debian/patches/series file and use quilt. The
> crazy thing is that now the test-pwd patch does not correct it any more,
> I now again get

> /usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby
> /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> ./test/fixtures/simple.rb:2:in `require': no such file to load --
> ../bin/mustache (LoadError)
> 	from ./test/fixtures/simple.rb:2
> 	from ./test/helper.rb:6:in `require'
> 	from ./test/helper.rb:6
> 	from ./test/helper.rb:5:in `each'
> 	from ./test/helper.rb:5
> 	from ./test/autoloading_test.rb:2:in `require'
> 	from ./test/autoloading_test.rb:2
> 	from debian/ruby-tests.rb:1:in `require'
> 	from debian/ruby-tests.rb:1
> 	from debian/ruby-tests.rb:1:in `each'
> 	from debian/ruby-tests.rb:1
> ERROR: Test "ruby1.8" failed. Exiting.


> Does that make any sense at all?

> I pushed my currents state into the "tests" branch.

You do not need "test-pwd" patch. Here the package builds correctly
without it. What is required is the _library_ mustache(.rb) (in lib/), and not
the script in bin. Moreover, it is not found, because the tests are run
from the base directory, and not test/, therefore the relative path is
wrong.

Best,

	Cédric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20111009/f231f6ac/attachment.pgp>


More information about the Pkg-ruby-extras-maintainers mailing list