Skip to content

Commit

Permalink
common.mk: exclude memory leak tests
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nobu committed Sep 3, 2015
1 parent 58431c6 commit d41838c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 0 additions & 1 deletion test/excludes/TestConst.rb

This file was deleted.

2 changes: 1 addition & 1 deletion test/ruby/test_hash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ def test_recursive_hash_value_hash_array
end
end

def test_exception_in_rehash
def test_exception_in_rehash_memory_leak
return unless @cls == Hash

bug9187 = '[ruby-core:58728] [Bug #9187]'
Expand Down
2 changes: 1 addition & 1 deletion test/test_weakref.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_weakref_finalize
}, 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
Expand Down

0 comments on commit d41838c

Please sign in to comment.