diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-04-02 13:38:49 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-04-02 16:24:47 +0900 |
| commit | 6bd5a51ab5a2b1d33fa586cb2969b25d8d68c121 (patch) | |
| tree | a9bc14d06c1108fc5e29698a80f4fb38a42b18fa /test/ruby | |
| parent | ca97302dd404070bf971767914b6e4855b4de8a9 (diff) | |
Removed Solaris conditions from test files
We no longer execute those files with Solaris platforms.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13037
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_fiber.rb | 2 | ||||
| -rw-r--r-- | test/ruby/test_process.rb | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/test/ruby/test_fiber.rb b/test/ruby/test_fiber.rb index b1defdf82c..1f78307748 100644 --- a/test/ruby/test_fiber.rb +++ b/test/ruby/test_fiber.rb @@ -49,7 +49,7 @@ class TestFiber < Test::Unit::TestCase end def test_many_fibers_with_threads - assert_normal_exit <<-SRC, timeout: (/solaris/i =~ RUBY_PLATFORM ? 1000 : 60) + assert_normal_exit <<-SRC, timeout: 60 max = 1000 @cnt = 0 (1..100).map{|ti| diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 5a91e94b09..b65e34fe09 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1758,9 +1758,6 @@ class TestProcess < Test::Unit::TestCase end def test_no_curdir - if /solaris/i =~ RUBY_PLATFORM - omit "Temporary omit to avoid CI failures after commit to use realpath on required files" - end with_tmpchdir {|d| Dir.mkdir("vd") status = nil @@ -1800,9 +1797,6 @@ class TestProcess < Test::Unit::TestCase end def test_aspawn_too_long_path - if /solaris/i =~ RUBY_PLATFORM && !defined?(Process::RLIMIT_NPROC) - omit "Too exhaustive test on platforms without Process::RLIMIT_NPROC such as Solaris 10" - end bug4315 = '[ruby-core:34833] #7904 [ruby-core:52628] #11613' assert_fail_too_long_path(%w"echo |", bug4315) end |
