[ruby-cvs:56956] nobu:r49806 (trunk): envutil.rb: timeout_error argument to invoke_ruby

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Mar 2 15:44:34 JST 2015

nobu	2015-03-02 15:44:34 +0900 (Mon, 02 Mar 2015)

  New Revision: 49806


    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.

  Modified files:

More information about the ruby-cvs mailing list