summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-18 03:04:52 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-18 03:04:52 +0000
commit6c0ce8f0e6d5244ea081ef615560ac64b2c00a1b (patch)
tree3ef7eda38179ee9f575603e6e3fc0691633cd0d8 /test/ruby
parentdb1d53450ed85761ee2bea1577e6eaa593d18e5f (diff)
output more verbose to debug
following failure insists unexpected condition http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20140515T133301Z.diff.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_thread.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb
index 70f6d5d639..b61e90166f 100644
--- a/test/ruby/test_thread.rb
+++ b/test/ruby/test_thread.rb
@@ -792,12 +792,13 @@ _eom
end
def test_main_thread_status_at_exit
- assert_in_out_err([], <<-INPUT, %w(false), [])
+ assert_in_out_err([], <<-'INPUT', ["false false aborting"], [])
Thread.new(Thread.current) {|mth|
begin
Thead.pass until mth.stop?
+ p :mth_stopped # don't run if killed by rb_thread_terminate_all
ensure
- p mth.alive?
+ puts "#{mth.alive?} #{mth.status} #{Thread.current.status}"
end
}
INPUT