mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/envutil.rb: try to wait a bit (0.1sec) when ruby process
exits by signals because some SEGV tests fail because of not enough error output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f061bec852
commit
37f32fd6a0
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Thu Jan 23 20:20:17 2014 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* test/ruby/envutil.rb: try to wait a bit (0.1sec) when ruby process
|
||||
exits by signals because some SEGV tests fail because of not enough
|
||||
error output.
|
||||
|
||||
Thu Jan 23 20:06:27 2014 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* test/ruby/test_settracefunc.rb: check the target thread.
|
||||
|
|
|
@ -282,6 +282,7 @@ module Test
|
|||
def assert_in_out_err(args, test_stdin = "", test_stdout = [], test_stderr = [], message = nil, **opt)
|
||||
stdout, stderr, status = EnvUtil.invoke_ruby(args, test_stdin, true, true, **opt)
|
||||
if signo = status.termsig
|
||||
sleep 0.1
|
||||
EnvUtil.diagnostic_reports(Signal.signame(signo), EnvUtil.rubybin, status.pid, Time.now)
|
||||
end
|
||||
if block_given?
|
||||
|
|
Loading…
Add table
Reference in a new issue