summaryrefslogtreecommitdiff
path: root/test/ruby/test_fiber.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-04-22 01:53:53 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-04-22 02:05:12 +0900
commit7d918be633c649a4439fb239c1ae22c8d391683c (patch)
tree2176fa391751e7f86da25d48c818a878878174d2 /test/ruby/test_fiber.rb
parent22226324f7f47a9053d6dbb58b1650c1efee81e8 (diff)
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
Diffstat (limited to 'test/ruby/test_fiber.rb')
-rw-r--r--test/ruby/test_fiber.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_fiber.rb b/test/ruby/test_fiber.rb
index f548024175..e4c5841ff5 100644
--- a/test/ruby/test_fiber.rb
+++ b/test/ruby/test_fiber.rb
@@ -361,6 +361,7 @@ class TestFiber < Test::Unit::TestCase
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))