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

ruby-changes:28009

From: naruse <ko1@a...>
Date: Tue, 2 Apr 2013 15:28:37 +0900 (JST)
Subject: [ruby-changes:28009] naruse:r40061 (trunk): Add ignore_stderr because it outputs "circular require" warnings

naruse	2013-04-02 15:28:20 +0900 (Tue, 02 Apr 2013)

  New Revision: 40061

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

  Log:
    Add ignore_stderr because it outputs "circular require" warnings

  Modified files:
    trunk/test/ruby/test_require.rb

Index: test/ruby/test_require.rb
===================================================================
--- test/ruby/test_require.rb	(revision 40060)
+++ test/ruby/test_require.rb	(revision 40061)
@@ -400,7 +400,7 @@ class TestRequire < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_require.rb#L400
     # in C-level.  And redirecting stderr to a pipe seems to change
     # some blocking timings and causes a deadlock, so run in a
     # separated process for the time being.
-    assert_separately(["-w", "-", path, bug5754], <<-'end;')
+    assert_separately(["-w", "-", path, bug5754], <<-'end;', ignore_stderr: true)
     path, bug5754 = *ARGV
     start = false
 

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

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