ruby-changes:31755
From: ko1 <ko1@a...>
Date: Mon, 25 Nov 2013 04:01:33 +0900 (JST)
Subject: [ruby-changes:31755] ko1:r43834 (trunk): * test/ruby/test_gc.rb: catch up last commit.
ko1 2013-11-25 04:01:14 +0900 (Mon, 25 Nov 2013) New Revision: 43834 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43834 Log: * test/ruby/test_gc.rb: catch up last commit. Now RUBY_GC_OLDSPACE_LIMIT(...) is RUBY_GC_OLDMALLOC_LIMIT(...). Modified files: trunk/ChangeLog trunk/test/ruby/test_gc.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 43833) +++ ChangeLog (revision 43834) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Nov 25 03:59:45 2013 Koichi Sasada <ko1@a...> + + * test/ruby/test_gc.rb: catch up last commit. + Now RUBY_GC_OLDSPACE_LIMIT(...) is RUBY_GC_OLDMALLOC_LIMIT(...). + Mon Nov 25 03:10:46 2013 Koichi Sasada <ko1@a...> * gc.c: change terminology OLDSPACE -> OLDMALLOC. Index: test/ruby/test_gc.rb =================================================================== --- test/ruby/test_gc.rb (revision 43833) +++ test/ruby/test_gc.rb (revision 43834) @@ -147,14 +147,14 @@ class TestGc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_gc.rb#L147 assert_in_out_err([env, "-w", "-e", "exit"], "", [], /RUBY_GC_MALLOC_LIMIT_GROWTH_FACTOR=2.0/, "") env = { - "RUBY_GC_OLDSPACE_LIMIT" => "60000000", - "RUBY_GC_OLDSPACE_LIMIT_MAX" => "160000000", - "RUBY_GC_OLDSPACE_LIMIT_GROWTH_FACTOR" => "2.0" + "RUBY_GC_OLDMALLOC_LIMIT" => "60000000", + "RUBY_GC_OLDMALLOC_LIMIT_MAX" => "160000000", + "RUBY_GC_OLDMALLOC_LIMIT_GROWTH_FACTOR" => "2.0" } assert_normal_exit("exit", "", :child_env => env) - assert_in_out_err([env, "-w", "-e", "exit"], "", [], /RUBY_GC_OLDSPACE_LIMIT=6000000/, "") - assert_in_out_err([env, "-w", "-e", "exit"], "", [], /RUBY_GC_OLDSPACE_LIMIT_MAX=16000000/, "") - assert_in_out_err([env, "-w", "-e", "exit"], "", [], /RUBY_GC_OLDSPACE_LIMIT_GROWTH_FACTOR=2.0/, "") + assert_in_out_err([env, "-w", "-e", "exit"], "", [], /RUBY_GC_OLDMALLOC_LIMIT=6000000/, "") + assert_in_out_err([env, "-w", "-e", "exit"], "", [], /RUBY_GC_OLDMALLOC_LIMIT_MAX=16000000/, "") + assert_in_out_err([env, "-w", "-e", "exit"], "", [], /RUBY_GC_OLDMALLOC_LIMIT_GROWTH_FACTOR=2.0/, "") end def test_profiler_enabled -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/