From a850be68a57dce65449766654aa1912b5fa660cb Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 24 Jul 2019 11:04:26 +0900 Subject: Moved NoMemoryError hook to Test::Unit::AutoRunner --- tool/test/runner.rb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'tool/test') diff --git a/tool/test/runner.rb b/tool/test/runner.rb index f8769857ad..38e7c0438c 100644 --- a/tool/test/runner.rb +++ b/tool/test/runner.rb @@ -35,10 +35,4 @@ if ENV['COVERAGE'] require_relative "#{tool_dir}/test-coverage.rb" end -begin - exit Test::Unit::AutoRunner.run(true, src_testdir) -rescue NoMemoryError - system("cat /proc/meminfo") if File.exist?("/proc/meminfo") - 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 +exit Test::Unit::AutoRunner.run(true, src_testdir) -- cgit v1.2.3