зеркало из https://github.com/github/ruby.git
test/test_trick.rb: increase timeout of some tests
http://rubyci.s3.amazonaws.com/raspbian10-armv7l/ruby-master/log/20201225T071824Z.fail.html.gz
This commit is contained in:
Родитель
7a4b8d8700
Коммит
a01d28fed7
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче