From dd9c8b88af86d722d3832f6dab9c099644f54a2e Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 2 Sep 2013 03:29:16 +0000 Subject: * 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 --- test/ruby/test_bignum.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/ruby/test_bignum.rb') 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 -- cgit v1.2.3