diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-27 03:42:32 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-27 03:42:32 +0000 |
commit | 97cfffcdc64251660176cdc30a0408833d3d7af7 (patch) | |
tree | a167519c69356d6ea1da0f4d080b02b0b366728c | |
parent | a7361f9c64d49f2598cbb628ec256d26503a3d5f (diff) | |
download | ruby-97cfffcdc64251660176cdc30a0408833d3d7af7.tar.gz |
envutil.rb: skip if load failed
* test/lib/envutil.rb (assert_no_memory_leak): skip when failed to
load fiddle.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/lib/envutil.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lib/envutil.rb b/test/lib/envutil.rb index 001753a9f0..e48d683f09 100644 --- a/test/lib/envutil.rb +++ b/test/lib/envutil.rb @@ -466,6 +466,8 @@ eom next unless a > 0 and b > 0 assert_operator(a.fdiv(b), :<, limit, message(message) {"#{n}: #{b} => #{a}"}) end + rescue LoadError + skip end def assert_is_minus_zero(f) |