mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/dl: no warnings
* test/dl/test_base.rb, test/dl/test_c_struct_entry.rb: deprecation warnings make no sense here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ecaba0f21f
commit
304885cdff
3 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
|
# -*- coding: us-ascii -*-
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
require 'dl'
|
|
||||||
require_relative '../ruby/envutil'
|
require_relative '../ruby/envutil'
|
||||||
|
EnvUtil.suppress_warning {require 'dl'}
|
||||||
|
|
||||||
libc_so = libm_so = nil
|
libc_so = libm_so = nil
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
|
# -*- coding: us-ascii -*-
|
||||||
require_relative 'test_base'
|
require_relative 'test_base'
|
||||||
|
|
||||||
require 'dl/struct'
|
EnvUtil.suppress_warning {require 'dl/struct'}
|
||||||
|
|
||||||
module DL
|
module DL
|
||||||
class TestCStructEntity < TestBase
|
class TestCStructEntity < TestBase
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- coding: us-ascii -*-
|
||||||
require "open3"
|
require "open3"
|
||||||
require "timeout"
|
require "timeout"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue