summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-01 17:11:27 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-01 17:11:27 +0000
commit6f39ca4665107f724ee62159333a1805e93a9830 (patch)
treefadb6d1e71b5d550f7c84d8ecc6ff0874c440df9
parentae0181b7feb2e676106f2750b3ec774f139eb4d6 (diff)
Show more portable and detailed info on NoMemoryError ref #8711
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/runner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/runner.rb b/test/runner.rb
index 028426d..a3bb070 100644
--- a/test/runner.rb
+++ b/test/runner.rb
@@ -30,6 +30,6 @@ begin
exit Test::Unit::AutoRunner.run(true, src_testdir)
rescue NoMemoryError
system("cat /proc/meminfo") if File.exist?("/proc/meminfo")
- system("ps x -opid,cmd,%mem,rss,size,vsz") if File.exist?("/bin/ps")
+ system("ps x -opid,args,%cpu,%mem,nlwp,rss,vsz,wchan,stat,start,time,etime,blocked,caught,ignored,pending,f") if File.exist?("/bin/ps")
raise
end