[DRE-commits] [ruby-eventmachine] 02/02: stop ignoring test failures, make it pass
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Mon Jul 13 07:08:41 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-eventmachine.
commit 4da9c7a944013b44191f4b9b6684bc9571fe8146
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Thu Apr 30 19:04:18 2015 +0530
stop ignoring test failures, make it pass
---
debian/changelog | 3 +++
debian/control | 3 ++-
debian/patches/skip_tests_using_network.patch | 9 +++++++++
debian/rules | 2 +-
4 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 60e8fcd..0701b78 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ ruby-eventmachine (1.0.7-1) unstable; urgency=medium
* Team upload.
* Re-upload to unstable.
+ * Add ruby-minitest, rake and ruby-test-unit to build deps.
+ * Disable more network using tests.
+ * Stop ignoring test failures.
-- Pirate Praveen <praveen at debian.org> Thu, 30 Apr 2015 18:29:40 +0530
diff --git a/debian/control b/debian/control
index d3a8ee4..70e4fac 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,8 @@ Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: Daigo Moriwaki <daigo at debian.org>, Ryan Niebur <ryanryan52 at gmail.com>, Laurent Arnoud <laurent at spkdev.net>, Paul van Tilburg <paulvt at debian.org>, Per Andersson <avtobiff at gmail.com>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~), libssl-dev
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~), libssl-dev,
+ rake, ruby-minitest, ruby-test-unit
Standards-Version: 3.9.6
Homepage: http://rubyeventmachine.com/
Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-eventmachine.git
diff --git a/debian/patches/skip_tests_using_network.patch b/debian/patches/skip_tests_using_network.patch
index 3e86a4b..e2247b3 100644
--- a/debian/patches/skip_tests_using_network.patch
+++ b/debian/patches/skip_tests_using_network.patch
@@ -130,6 +130,15 @@ Index: ruby-eventmachine/tests/test_resolver.rb
EM.run {
d = EM::DNS::Resolver.resolve "yahoo.com"
d.errback { |err| assert false, "failed to resolve yahoo.com: #{err}" }
+@@ -53,7 +53,7 @@ class TestResolver < Test::Unit::TestCas
+ }
+ end
+
+- def test_timer_cleanup
++ def est_timer_cleanup
+ EM.run {
+ d = EM::DNS::Resolver.resolve "google.com"
+ d.errback { |err| assert false, "failed to resolve google.com: #{err}" }
Index: ruby-eventmachine/tests/test_unbind_reason.rb
===================================================================
--- ruby-eventmachine.orig/tests/test_unbind_reason.rb
diff --git a/debian/rules b/debian/rules
index 3989e21..ca084c4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
#export DH_VERBOSE=1
#
# Uncomment to ignore all test failures (but the tests will run anyway)
-export DH_RUBY_IGNORE_TESTS=all
+# export DH_RUBY_IGNORE_TESTS=all
#
# Uncomment to ignore some test failures (but the tests will run anyway).
# Valid values:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-eventmachine.git
More information about the Pkg-ruby-extras-commits
mailing list