mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_gc.rb: ignore warning messages for running with -w
option such as chkbuild. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
841bf2b208
commit
131696f48f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Feb 17 21:31:31 2014 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* test/ruby/test_gc.rb: ignore warning messages for running with -w
|
||||
option such as chkbuild.
|
||||
|
||||
Mon Feb 17 20:00:27 2014 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* internal.h: Move BDIGIT and related definitions from
|
||||
|
|
|
@ -185,7 +185,7 @@ class TestGc < Test::Unit::TestCase
|
|||
assert_normal_exit("exit", "", :child_env => env)
|
||||
assert_in_out_err([env, "-w", "-e", "exit"], "", [], /RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=0\.9/, "")
|
||||
# always full GC when RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR < 1.0
|
||||
assert_in_out_err([env, "-e", "1000_000.times{Object.new}; p(GC.stat[:minor_gc_count] < GC.stat[:major_gc_count])"], "", ['true'], [], "")
|
||||
assert_in_out_err([env, "-e", "1000_000.times{Object.new}; p(GC.stat[:minor_gc_count] < GC.stat[:major_gc_count])"], "", ['true'], //, "")
|
||||
|
||||
# check obsolete
|
||||
assert_in_out_err([{'RUBY_FREE_MIN' => '100'}, '-w', '-eexit'], '', [],
|
||||
|
|
Loading…
Reference in a new issue