From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS47066 71.19.144.0/20 X-Spam-Status: No, score=-1.9 required=3.0 tests=AWL,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: normalperson@yhbt.net Received: from zedshaw2.xen.prgmr.com (zedshaw2.xen.prgmr.com [71.19.156.177]) by dcvr.yhbt.net (Postfix) with ESMTP id 134511F6C0 for ; Tue, 30 Apr 2013 02:40:10 +0000 (UTC) Received: from zedshaw2.xen.prgmr.com (unknown [IPv6:::1]) by zedshaw2.xen.prgmr.com (Postfix) with ESMTP id 8749673DEE for ; Tue, 30 Apr 2013 02:42:07 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 30 Apr 2013 02:39:27 +0000 From: Eric Wong List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Message-Id: <1367289582-31293-3-git-send-email-normalperson@yhbt.net> Precedence: list References: <1367289582-31293-1-git-send-email-normalperson@yhbt.net> Sender: sleepy.penguin@librelist.org Subject: [sleepy.penguin] [PATCH 02/17] test: remove Rubinius-specific checks and skips To: sleepy.penguin@librelist.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit These skips no longer seem needed. Removed the GC tests since they were unreliable (even on MRI), anyways. --- test/test_epoll.rb | 16 +--------------- test/test_epoll_io.rb | 1 - test/test_epoll_optimizations.rb | 1 - 3 files changed, 1 insertion(+), 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 @@ class TestEpoll < Test::Unit::TestCase include SleepyPenguin - RBX = defined?(RUBY_ENGINE) && (RUBY_ENGINE == 'rbx') def setup @rd, @wr = IO.pipe @@ -181,7 +180,7 @@ def test_signal_safe_wait_forever 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 @@ def test_multiple 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 @@ 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 @@ class TestEpollOptimizations < Test::Unit::TestCase include SleepyPenguin - RBX = defined?(RUBY_ENGINE) && (RUBY_ENGINE == 'rbx') IO_PURGATORY = [] def setup -- 1.8.2.1.367.gc875ca7