diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-23 11:22:11 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-23 11:22:11 +0000 |
commit | 37f32fd6a0b80b6a272505589b0195ae8b6d5b85 (patch) | |
tree | e5a91fd489356acd76ff3aebca2ec3a08ea47302 /test | |
parent | f061bec852cae077b529790a12d9c9caed742290 (diff) | |
download | ruby-37f32fd6a0b80b6a272505589b0195ae8b6d5b85.tar.gz |
* 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
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/envutil.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb index 65b68df248..2e9ebbbca2 100644 --- a/test/ruby/envutil.rb +++ b/test/ruby/envutil.rb @@ -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? |