From dd9c8b88af86d722d3832f6dab9c099644f54a2e Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 2 Sep 2013 03:29:16 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ test/ruby/test_bignum.rb | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 406e275a57..bcee27d960 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Sep 2 12:28:38 2013 Tanaka Akira + + * test/ruby/test_bignum.rb (test_interrupt_during_to_s): Disable it + when GMP is used. + Mon Sep 2 07:02:10 2013 Tanaka Akira * bignum.c (Init_Bignum): Define Bignum::GMP_VERSION when GMP is used. 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