diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-02 06:44:34 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-02 06:44:34 +0000 |
commit | 7be21a316f29832f17bea4d8a2820258369931e7 (patch) | |
tree | 21d5803796aaa07cef48a0d2e4b6afb1bb8970fa /test/testunit/test4test_hideskip.rb | |
parent | 876d6640698e3b3be219d4a89b9aeedb9f17f62f (diff) | |
download | ruby-7be21a316f29832f17bea4d8a2820258369931e7.tar.gz |
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 'test/testunit/test4test_hideskip.rb')
0 files changed, 0 insertions, 0 deletions