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

ruby-changes:26738

From: nobu <ko1@a...>
Date: Sat, 12 Jan 2013 16:06:58 +0900 (JST)
Subject: [ruby-changes:26738] nobu:r38790 (trunk): * bootstraptest/runner.rb (exec_test): break lines if not tty.

nobu	2013-01-12 16:06:49 +0900 (Sat, 12 Jan 2013)

  New Revision: 38790

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

  Log:
    * bootstraptest/runner.rb (exec_test): break lines if not tty.

  Modified files:
    trunk/bootstraptest/runner.rb

Index: bootstraptest/runner.rb
===================================================================
--- bootstraptest/runner.rb	(revision 38789)
+++ bootstraptest/runner.rb	(revision 38790)
@@ -178,7 +178,7 @@ def exec_test(pathes) https://github.com/ruby/ruby/blob/trunk/bootstraptest/runner.rb#L178
         $stderr.print "#{@progress_bs}#{@failed}FAIL #{@error-error}/#{@count-count}#{@reset}"
       end
     end
-    $stderr.puts unless @quiet
+    $stderr.puts unless @quiet and @tty
   end
   if @error == 0
     if @count == 0

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

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