summaryrefslogtreecommitdiff
path: root/tool/test
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-24 11:04:26 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-25 08:42:16 +0900
commita850be68a57dce65449766654aa1912b5fa660cb (patch)
treec2ca2be18151af9e084f549cac032b749a958640 /tool/test
parent82ae46211341f926d79c6e2e26f4b9097625443c (diff)
downloadbundler-a850be68a57dce65449766654aa1912b5fa660cb.tar.gz
Moved NoMemoryError hook to Test::Unit::AutoRunner
Diffstat (limited to 'tool/test')
-rw-r--r--tool/test/runner.rb8
1 files changed, 1 insertions, 7 deletions
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)