about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-04-25 18:36:54 +0000
committerEric Wong <normalperson@yhbt.net>2013-04-29 21:01:01 +0000
commitd1b31d49b2c376ce3c7691b5037d5edea517fb09 (patch)
treed04b1b29ba16361cf9e318a2e90d2bbf3644f7fe
parentba9848c3ce97e7d0e494fccfccc94c778c7d5188 (diff)
downloadsleepy_penguin-d1b31d49b2c376ce3c7691b5037d5edea517fb09.tar.gz
These skips no longer seem needed.  Removed the GC tests since
they were unreliable (even on MRI), anyways.
-rw-r--r--test/test_epoll.rb16
-rw-r--r--test/test_epoll_io.rb1
-rw-r--r--test/test_epoll_optimizations.rb1
3 files changed, 1 insertions, 17 deletions
diff --git a/test/test_epoll.rb b/test/test_epoll.rb
index b2c5c48..163a32c 100644
--- a/test/test_epoll.rb
+++ b/test/test_epoll.rb
@@ -9,7 +9,6 @@ require 'sleepy_penguin'
 
 class TestEpoll < Test::Unit::TestCase
   include SleepyPenguin
-  RBX = defined?(RUBY_ENGINE) && (RUBY_ENGINE == 'rbx')
 
   def setup
     @rd, @wr = IO.pipe
@@ -181,7 +180,7 @@ class TestEpoll < Test::Unit::TestCase
     assert_in_delta(0.5, ep_delay, 0.1, "ep1_delay=#{ep_delay}")
     ensure
       trap(:USR1, 'DEFAULT')
-  end unless RBX
+  end
 
   def test_close
     @ep.add @rd, Epoll::IN
@@ -231,19 +230,6 @@ class TestEpoll < Test::Unit::TestCase
     assert ios.include?(w)
   end
 
-  def test_gc
-    4096.times { Epoll.new }
-    assert ! @ep.closed?
-  end unless RBX
-
-  def test_gc_to_io
-    4096.times do
-      ep = Epoll.new
-      assert_kind_of IO, ep.to_io
-    end
-    assert ! @ep.closed?
-  end unless RBX
-
   def test_clone
     tmp = []
     clone = @ep.clone
diff --git a/test/test_epoll_io.rb b/test/test_epoll_io.rb
index a899e0d..daaa229 100644
--- a/test/test_epoll_io.rb
+++ b/test/test_epoll_io.rb
@@ -8,7 +8,6 @@ require 'sleepy_penguin'
 
 class TestEpollIO < Test::Unit::TestCase
   include SleepyPenguin
-  RBX = defined?(RUBY_ENGINE) && (RUBY_ENGINE == 'rbx')
 
   def setup
     @rd, @wr = IO.pipe
diff --git a/test/test_epoll_optimizations.rb b/test/test_epoll_optimizations.rb
index f5970fd..c03b9d6 100644
--- a/test/test_epoll_optimizations.rb
+++ b/test/test_epoll_optimizations.rb
@@ -9,7 +9,6 @@ require 'sleepy_penguin'
 
 class TestEpollOptimizations < Test::Unit::TestCase
   include SleepyPenguin
-  RBX = defined?(RUBY_ENGINE) && (RUBY_ENGINE == 'rbx')
   IO_PURGATORY = []
 
   def setup