[DRE-commits] [ruby-thread-safe] 10/15: deactivate a test about hashes know to fail with Ruby2.0
    Cédric Boutillier 
    boutil at alioth.debian.org
       
    Sun Sep 29 08:24:04 UTC 2013
    
    
  
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-thread-safe.
commit 46fa41cb7a9830d9dc562b00dbfaef960fb5edb7
Author: Cédric Boutillier <boutil at debian.org>
Date:   Sat Sep 28 22:04:21 2013 +0200
    deactivate a test about hashes know to fail with Ruby2.0
---
 debian/patches/deactive_test_hash_ruby20.patch |   23 +++++++++++++++++++++++
 debian/patches/series                          |    1 +
 2 files changed, 24 insertions(+)
diff --git a/debian/patches/deactive_test_hash_ruby20.patch b/debian/patches/deactive_test_hash_ruby20.patch
new file mode 100644
index 0000000..6d2e9c8
--- /dev/null
+++ b/debian/patches/deactive_test_hash_ruby20.patch
@@ -0,0 +1,23 @@
+Description: deactive test known to fail with Ruby 2.0
+Bug: https://github.com/headius/thread_safe/issues/10
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: not-needed
+Last-Update: 2013-09-26
+
+--- a/test/test_hash.rb
++++ b/test/test_hash.rb
+@@ -3,6 +3,7 @@
+ 
+ class TestHash < Test::Unit::TestCase
+   def test_concurrency
++    pend if RUBY_VERSION =~ /2\.0/
+     hsh = ThreadSafe::Hash.new
+     assert_nothing_raised do
+       (1..100).map do |i|
+@@ -17,4 +18,4 @@
+       end.map(&:join)
+     end
+   end
+-end
+\ No newline at end of file
++end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3c67466
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+deactive_test_hash_ruby20.patch
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-thread-safe.git
    
    
More information about the Pkg-ruby-extras-commits
mailing list