Package: gem2deb
Version: 0.6.0
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu trusty ubuntu-patch
*** /tmp/tmpeovyma/bug_body
In Ubuntu, the attached patch was applied to achieve the following:
* lib/gem2deb/dh_ruby.rb: properly handle test failures so they can be
skipped with DH_RUBY_IGNORE_TESTS.
Thanks for considering the patch.
-- System Information:
Debian Release: wheezy/sid
APT prefers saucy-updates
APT policy: (500, 'saucy-updates'), (500, 'saucy-security'), (500,
'saucy-proposed'), (500, 'saucy'), (100, 'saucy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.11.0-15-generic (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru gem2deb-0.6.0/debian/changelog gem2deb-0.6.0ubuntu1/debian/changelog
diff -Nru gem2deb-0.6.0/lib/gem2deb/dh_ruby.rb gem2deb-0.6.0ubuntu1/lib/gem2deb/dh_ruby.rb
--- gem2deb-0.6.0/lib/gem2deb/dh_ruby.rb 2013-11-20 13:54:33.000000000 -0500
+++ gem2deb-0.6.0ubuntu1/lib/gem2deb/dh_ruby.rb 2013-12-03 13:07:57.000000000 -0500
@@ -135,9 +135,9 @@
return
end
- run(SUPPORTED_RUBY_VERSIONS[rubyver], '-I' + LIBDIR, TEST_RUNNER)
-
- if $?.exitstatus != 0
+ begin
+ run(SUPPORTED_RUBY_VERSIONS[rubyver], '-I' + LIBDIR, TEST_RUNNER)
+ rescue Gem2Deb::CommandFailed
handle_test_failure(rubyver)
end
end
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers