mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
0effd06122
commit
dd9c8b88af
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Sep 2 12:28:38 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* 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 <akr@fsij.org>
|
||||
|
||||
* bignum.c (Init_Bignum): Define Bignum::GMP_VERSION when GMP is used.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue