From 7b32ffe7263af08a88431b396c18be78db7ff653 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 21 Jun 2017 01:34:33 +0000 Subject: bootstraptest/runner.rb: keyword argument git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/runner.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index 110b00d658..a2b6fadaf4 100755 --- a/bootstraptest/runner.rb +++ b/bootstraptest/runner.rb @@ -318,13 +318,10 @@ def assert_valid_syntax(testsrc, message = '') } end -def assert_normal_exit(testsrc, *rest) +def assert_normal_exit(testsrc, *rest, timeout: nil, **opt) newtest - opt = {} - opt = rest.pop if Hash === rest.last message, ignore_signals = rest message ||= '' - timeout = opt[:timeout] show_progress(message) { faildesc = nil filename = make_srcfile(testsrc) -- cgit v1.2.3