aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_bignum.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-02 03:29:16 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-02 03:29:16 +0000
commitdd9c8b88af86d722d3832f6dab9c099644f54a2e (patch)
tree7dc51c511ca7b32c133c51fc053cf29c5acddc4e /test/ruby/test_bignum.rb
parent0effd061224edfb2c643e699a22057c03b4db3f8 (diff)
downloadruby-dd9c8b88af86d722d3832f6dab9c099644f54a2e.tar.gz
* test/ruby/test_bignum.rb (test_interrupt_during_to_s): Disable it
when GMP is used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_bignum.rb')
-rw-r--r--test/ruby/test_bignum.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/test_bignum.rb b/test/ruby/test_bignum.rb
index c2f8738246..5a91a2a6b6 100644
--- a/test/ruby/test_bignum.rb
+++ b/test/ruby/test_bignum.rb
@@ -577,6 +577,9 @@ class TestBignum < Test::Unit::TestCase
end
def test_interrupt_during_to_s
+ if defined?(Bignum::GMP_VERSION)
+ return # GMP doesn't support interrupt during an operation.
+ end
time = Time.now
start_flag = false
end_flag = false