diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-01 17:11:27 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-01 17:11:27 +0000 |
commit | 6f39ca4665107f724ee62159333a1805e93a9830 (patch) | |
tree | fadb6d1e71b5d550f7c84d8ecc6ff0874c440df9 | |
parent | ae0181b7feb2e676106f2750b3ec774f139eb4d6 (diff) | |
download | ruby-6f39ca4665107f724ee62159333a1805e93a9830.tar.gz |
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.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/runner.rb b/test/runner.rb index 028426d4f3..a3bb070e4f 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 |