Bug #7523

test_modify_expand_memory_leak(Test_StringModifyExpand) fails

Added by Heesob Park over 1 year ago. Updated over 1 year ago.

[ruby-core:50599]
Status:Closed
Priority:Normal
Assignee:Koichi Sasada
Category:test
Target version:2.0.0
ruby -v:ruby 2.0.0dev (2012-12-06 trunk 38223) [x64-mingw32] Backport:

Description

I can see following failure with x64-mingw32 on Windows 7.

50) Failure:
testmodifyexpandmemoryleak(TestStringModifyExpand) [c:/work/snapshot-mg64/test/-ext-/string/testmodifyexpand.rb:7]:rbstrmodifyexpand().
<[true, ""]> expected but was
<[false, "c:/work/snapshot-mg64/test/ruby/memorystatus.rb:25:in rescue in <module:Memory>': undefined methodsuppresswarning' for Memory:Module (NoMethodError)\n\tfrom c:/work/snapshot-mg64/test/ruby/memory_status.rb:20:in <module:Memory>'\n\tfrom c:/work/snapshot-mg64/test/ruby/memory_status.rb:3:in'\n\tfrom -:1:in `require'\n"]>.

Associated revisions

Revision 38233
Added by Nobuyoshi Nakada over 1 year ago

memory_status.rb: EnvUtil

  • test/ruby/memorystatus.rb (Memory): suppresswarning is in EnvUtil. [Bug #7523]

History

#1 Updated by Luis Lavena over 1 year ago

  • Category set to test
  • Status changed from Open to Assigned
  • Assignee set to Koichi Sasada
  • Target version set to 2.0.0

#2 Updated by Nobuyoshi Nakada over 1 year ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r38233.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


memory_status.rb: EnvUtil

  • test/ruby/memorystatus.rb (Memory): suppresswarning is in EnvUtil. [Bug #7523]

Also available in: Atom PDF