summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-12-25 21:58:50 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-12-25 21:58:50 +0900
commita01d28fed7de2682d23606346ffededf19eb42c9 (patch)
treea1cd3ba39c46a1b30e2e3821d7bb527dfe5740e4 /test
parent7a4b8d8700ebbe8cefcce05311338448ee0fb5b5 (diff)
test/test_trick.rb: increase timeout of some tests
http://rubyci.s3.amazonaws.com/raspbian10-armv7l/ruby-master/log/20201225T071824Z.fail.html.gz
Diffstat (limited to 'test')
-rw-r--r--test/test_trick.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_trick.rb b/test/test_trick.rb
index 43dc2364da..abdfbca108 100644
--- a/test/test_trick.rb
+++ b/test/test_trick.rb
@@ -18,7 +18,7 @@ class TestTRICK2013 < Test::Unit::TestCase
def test_mame
src = File.join(__dir__, "../sample/trick2013/mame/entry.rb")
ignore_dsp = "def open(_file, _mode); s = ''; def s.flush; self;end; yield s; end;"
- assert_in_out_err(["-W0"], ignore_dsp + File.read(src), File.read(src).lines(chomp: true))
+ assert_in_out_err(["-W0"], ignore_dsp + File.read(src), File.read(src).lines(chomp: true), timeout: 60)
end
def test_shinh
@@ -34,7 +34,7 @@ end
class TestTRICK2015 < Test::Unit::TestCase
def test_kinaba
- src = File.join(__dir__, "../sample/trick2015/kinaba/entry.rb")
+ src = File.join(__dir__, "../sample/trick2015/kinaba/entry.rb", timeout: 60)
# calculate the first 10000 digits of Pi
n = 10000