1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

common.mk: exclude memory leak tests

* common.mk (TEST_EXCLUDES): exclude tests for memory leak, often
  too expensive and/or false-positive.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-09-03 05:22:41 +00:00
parent 58431c6595
commit d41838c8d4
4 changed files with 3 additions and 4 deletions

View file

@ -143,7 +143,7 @@ PRE_LIBRUBY_UPDATE = $(MINIRUBY) -e 'ARGV[1] or File.unlink(ARGV[0]) rescue nil'
$(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)

View file

@ -1 +0,0 @@
exclude :test_redefinition_memory_leak, 'often too expensive'

View file

@ -1232,7 +1232,7 @@ class TestHash < Test::Unit::TestCase
end
end
def test_exception_in_rehash
def test_exception_in_rehash_memory_leak
return unless @cls == Hash
bug9187 = '[ruby-core:58728] [Bug #9187]'

View file

@ -61,7 +61,7 @@ class TestWeakRef < Test::Unit::TestCase
}, 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