ruby-changes:67937
From: Hiroshi <ko1@a...>
Date: Sat, 11 Sep 2021 18:10:42 +0900 (JST)
Subject: [ruby-changes:67937] a13ee1f33c (master): Removed rubinius support from test suite
https://git.ruby-lang.org/ruby.git/commit/?id=a13ee1f33c From a13ee1f33cca476061f3ed7c823059188884fc17 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Sat, 11 Sep 2021 18:04:16 +0900 Subject: Removed rubinius support from test suite --- tool/lib/test/unit/testcase.rb | 7 ------- tool/test/testunit/test_minitest_unit.rb | 5 ----- 2 files changed, 12 deletions(-) diff --git a/tool/lib/test/unit/testcase.rb b/tool/lib/test/unit/testcase.rb index 28114a8..a526c17 100644 --- a/tool/lib/test/unit/testcase.rb +++ b/tool/lib/test/unit/testcase.rb @@ -37,13 +37,6 @@ module Test https://github.com/ruby/ruby/blob/trunk/tool/lib/test/unit/testcase.rb#L37 end ## - # Is this running on rubinius? - - def rubinius? platform = defined?(RUBY_ENGINE) && RUBY_ENGINE - "rbx" == platform - end - - ## # Is this running on windows? def windows? platform = RUBY_PLATFORM diff --git a/tool/test/testunit/test_minitest_unit.rb b/tool/test/testunit/test_minitest_unit.rb index d87f008..6d72724 100644 --- a/tool/test/testunit/test_minitest_unit.rb +++ b/tool/test/testunit/test_minitest_unit.rb @@ -1417,11 +1417,6 @@ class TestMiniTestGuard < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/tool/test/testunit/test_minitest_unit.rb#L1417 assert self.jruby? "java" end - def test_rubinius_eh - assert self.class.rubinius? "rbx" - assert self.rubinius? "rbx" - end - def test_windows_eh assert self.class.windows? "mswin" assert self.windows? "mswin" -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/