[前][次][番号順一覧][スレッド一覧]

ruby-changes:32949

From: ko1 <ko1@a...>
Date: Mon, 17 Feb 2014 21:32:51 +0900 (JST)
Subject: [ruby-changes:32949] ko1:r45028 (trunk): * test/ruby/test_gc.rb: ignore warning messages for running with -w

ko1	2014-02-17 21:32:46 +0900 (Mon, 17 Feb 2014)

  New Revision: 45028

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45028

  Log:
    * test/ruby/test_gc.rb: ignore warning messages for running with -w
      option such as chkbuild.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_gc.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 45027)
+++ ChangeLog	(revision 45028)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Feb 17 21:31:31 2014  Koichi Sasada  <ko1@a...>
+
+	* 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@f...>
 
 	* internal.h: Move BDIGIT and related definitions from
Index: test/ruby/test_gc.rb
===================================================================
--- test/ruby/test_gc.rb	(revision 45027)
+++ test/ruby/test_gc.rb	(revision 45028)
@@ -185,7 +185,7 @@ class TestGc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_gc.rb#L185
     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'], '', [],

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]