ruby-changes:39663
From: nobu <ko1@a...>
Date: Thu, 3 Sep 2015 14:23:02 +0900 (JST)
Subject: [ruby-changes:39663] nobu:r51744 (trunk): common.mk: exclude memory leak tests
nobu 2015-09-03 14:22:41 +0900 (Thu, 03 Sep 2015) New Revision: 51744 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51744 Log: common.mk: exclude memory leak tests * common.mk (TEST_EXCLUDES): exclude tests for memory leak, often too expensive and/or false-positive. Removed files: trunk/test/excludes/TestConst.rb Modified files: trunk/common.mk trunk/test/ruby/test_hash.rb trunk/test/test_weakref.rb Index: common.mk =================================================================== --- common.mk (revision 51743) +++ common.mk (revision 51744) @@ -143,7 +143,7 @@ PRE_LIBRUBY_UPDATE = $(MINIRUBY) -e 'ARG https://github.com/ruby/ruby/blob/trunk/common.mk#L143 $(LIBRUBY_EXTS) $(LIBRUBY_SO_UPDATE) TESTSDIR = $(srcdir)/test -TEST_EXCLUDES = --excludes=$(TESTSDIR)/excludes +TEST_EXCLUDES = --excludes=$(TESTSDIR)/excludes -x /memory_leak/ TESTWORKDIR = testwork TESTOPTS = $(RUBY_TESTOPTS) Index: test/ruby/test_hash.rb =================================================================== --- test/ruby/test_hash.rb (revision 51743) +++ test/ruby/test_hash.rb (revision 51744) @@ -1232,7 +1232,7 @@ class TestHash < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_hash.rb#L1232 end end - def test_exception_in_rehash + def test_exception_in_rehash_memory_leak return unless @cls == Hash bug9187 = '[ruby-core:58728] [Bug #9187]' Index: test/excludes/TestConst.rb =================================================================== --- test/excludes/TestConst.rb (revision 51743) +++ test/excludes/TestConst.rb (revision 51744) @@ -1 +0,0 @@ -exclude :test_redefinition_memory_leak, 'often too expensive' Index: test/test_weakref.rb =================================================================== --- test/test_weakref.rb (revision 51743) +++ test/test_weakref.rb (revision 51744) @@ -61,7 +61,7 @@ class TestWeakRef < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/test_weakref.rb#L61 }, bug7304 end - def test_repeated_object_leak + def test_repeated_object_memory_leak bug10537 = '[ruby-core:66428]' assert_no_memory_leak(%w(-rweakref), '', <<-'end;', bug10537, timeout: 60) a = Object.new -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/