summaryrefslogtreecommitdiff
path: root/sample/test.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-02 06:44:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-02 06:44:34 +0000
commit7be21a316f29832f17bea4d8a2820258369931e7 (patch)
tree21d5803796aaa07cef48a0d2e4b6afb1bb8970fa /sample/test.rb
parent876d6640698e3b3be219d4a89b9aeedb9f17f62f (diff)
envutil.rb: timeout_error argument to invoke_ruby
* test/lib/envutil.rb (invoke_ruby): add `timeout_error` optional keyword argument, the exception class to be raised if the target process timed out. if it is nil, no exception will be raised at timeout but the terminated output, error, and status will be returned. defaulted to Timeout::Error. * test/lib/envutil.rb (assert_separately): check outputs and status (including diagnostic reports) of timed-out process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/test.rb')
0 files changed, 0 insertions, 0 deletions