mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 18:13:58 +02:00
merge revision(s) 61625,61626,61627:
extend timeout to 15 seconds for ARMv8 environment Show how many seconds it timeouts By this we can easily extend timeout. Extend timeout of test_clear_unreachable_keyword_args git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@61630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a697c8b61b
commit
a410ff68c2
4 changed files with 4 additions and 4 deletions
|
@ -147,7 +147,7 @@ module EnvUtil
|
|||
stderr = stderr_filter.call(stderr) if stderr_filter
|
||||
if timeout_error
|
||||
bt = caller_locations
|
||||
msg = "execution of #{bt.shift.label} expired"
|
||||
msg = "execution of #{bt.shift.label} expired timeout (#{timeout} sec)"
|
||||
msg = Test::Unit::Assertions::FailDesc[status, msg, [stdout, stderr].join("\n")].()
|
||||
raise timeout_error, msg, bt.map(&:to_s)
|
||||
end
|
||||
|
|
|
@ -689,7 +689,7 @@ class TestRubyOptimization < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_clear_unreachable_keyword_args
|
||||
assert_separately [], <<-END
|
||||
assert_separately [], <<-END, timeout: 15
|
||||
script = <<-EOS
|
||||
if true
|
||||
else
|
||||
|
|
|
@ -1325,7 +1325,7 @@ class TestProc < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_local_variable_set_wb
|
||||
assert_ruby_status([], <<-'end;', '[Bug #13605]')
|
||||
assert_ruby_status([], <<-'end;', '[Bug #13605]', timeout: 15)
|
||||
b = binding
|
||||
n = 20_000
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#define RUBY_VERSION "2.5.0"
|
||||
#define RUBY_RELEASE_DATE "2018-01-06"
|
||||
#define RUBY_PATCHLEVEL 8
|
||||
#define RUBY_PATCHLEVEL 9
|
||||
|
||||
#define RUBY_RELEASE_YEAR 2018
|
||||
#define RUBY_RELEASE_MONTH 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue