[前][次][番号順一覧][スレッド一覧]

ruby-changes:60861

From: Yusuke <ko1@a...>
Date: Wed, 22 Apr 2020 02:05:35 +0900 (JST)
Subject: [ruby-changes:60861] 7d918be633 (master): test/ruby/test_fiber.rb: Skip the problematic test_stack_size on riscv

https://git.ruby-lang.org/ruby.git/commit/?id=7d918be633

From 7d918be633c649a4439fb239c1ae22c8d391683c Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Wed, 22 Apr 2020 01:53:53 +0900
Subject: test/ruby/test_fiber.rb: Skip the problematic test_stack_size on
 riscv

Since it is impossible to detect stack overflow of C functions robustly,
the test is a bit unreasonable.

https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian-riscv64/ruby-master/log/20200421T120018Z.fail.html.gz

diff --git a/test/ruby/test_fiber.rb b/test/ruby/test_fiber.rb
index f548024..e4c5841 100644
--- a/test/ruby/test_fiber.rb
+++ b/test/ruby/test_fiber.rb
@@ -361,6 +361,7 @@ class TestFiber < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_fiber.rb#L361
 
   def test_stack_size
     skip 'too unstable on Travis s390x-linux' if RUBY_PLATFORM == 's390x-linux'
+    skip 'too unstable on riscv' if RUBY_PLATFORM =~ /riscv/
     h_default = eval(invoke_rec('p RubyVM::DEFAULT_PARAMS', nil, nil, false))
     h_0 = eval(invoke_rec('p RubyVM::DEFAULT_PARAMS', 0, 0, false))
     h_large = eval(invoke_rec('p RubyVM::DEFAULT_PARAMS', 1024 * 1024 * 5, 1024 * 1024 * 10, false))
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]