mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/fiddle/test_fiddle.rb: Don't run test if the system don't support
fiddle. * test/fiddle/test_function.rb: ditto. * test/fiddle/test_closure.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
35dbe5056d
commit
99ef86707c
4 changed files with 23 additions and 6 deletions
|
@ -1,3 +1,11 @@
|
|||
Sun Jan 23 22:17:07 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* test/fiddle/test_fiddle.rb: Don't run test if the system don't support
|
||||
fiddle.
|
||||
|
||||
* test/fiddle/test_function.rb: ditto.
|
||||
* test/fiddle/test_closure.rb: ditto.
|
||||
|
||||
Sun Jan 23 11:39:18 2011 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* vm_exec.h: parenthesize macro arguments.
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
require_relative 'helper'
|
||||
begin
|
||||
require_relative 'helper'
|
||||
rescue LoadError
|
||||
end
|
||||
|
||||
module Fiddle
|
||||
class TestClosure < Fiddle::TestCase
|
||||
|
@ -53,4 +56,4 @@ module Fiddle
|
|||
assert_equal(n, n.times {ObjectSpace.memsize_of(Closure.allocate)}, bug)
|
||||
end
|
||||
end
|
||||
end
|
||||
end if defined?(Fiddle)
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
require_relative 'helper'
|
||||
begin
|
||||
require_relative 'helper'
|
||||
rescue LoadError
|
||||
end
|
||||
|
||||
class TestFiddle < Fiddle::TestCase
|
||||
def test_constants_match
|
||||
|
@ -26,4 +29,4 @@ class TestFiddle < Fiddle::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
end
|
||||
end if defined?(Fiddle)
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
require_relative 'helper'
|
||||
begin
|
||||
require_relative 'helper'
|
||||
rescue LoadError
|
||||
end
|
||||
|
||||
module Fiddle
|
||||
class TestFunction < Fiddle::TestCase
|
||||
|
@ -63,4 +66,4 @@ module Fiddle
|
|||
assert_equal("123", str.to_s)
|
||||
end
|
||||
end
|
||||
end
|
||||
end if defined?(Fiddle)
|
||||
|
|
Loading…
Reference in a new issue