summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-21 01:34:33 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-21 01:34:33 (GMT)
commit477d115924ba68b9df9a22cdb61ed20bcada6a21 (patch)
treefa0b31b09edbd82a9ea3e50c2b09ad4d6a98c7ad /bootstraptest
parent1530dce8acaa993ecba38bffc1793ceaa65505aa (diff)
bootstraptest/runner.rb: keyword argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rwxr-xr-xbootstraptest/runner.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index 110b00d..a2b6fada 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)