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

ruby-changes:30371

From: usa <ko1@a...>
Date: Thu, 8 Aug 2013 16:10:01 +0900 (JST)
Subject: [ruby-changes:30371] usa:r42440 (ruby_1_9_3): merge revision(s) 42439:

usa	2013-08-08 16:09:48 +0900 (Thu, 08 Aug 2013)

  New Revision: 42440

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

  Log:
    merge revision(s) 42439:
    
    * test/coverage/test_coverage.rb (TestCoverage#test_big_code): use `1'
      instead of `p' to get rid of a side effect.
      Kernel#p without any argument seems to do nothing, but flushes stdout.
      and, if stdout is redirected to file, fsync() will be called on
      Windows.  so, when running test-all on Windows with redirection, such
      as CI environment, this test took a lot of time.

  Modified directories:
    branches/ruby_1_9_3/
  Modified files:
    branches/ruby_1_9_3/ChangeLog
    branches/ruby_1_9_3/test/coverage/test_coverage.rb
    branches/ruby_1_9_3/version.h
Index: ruby_1_9_3/ChangeLog
===================================================================
--- ruby_1_9_3/ChangeLog	(revision 42439)
+++ ruby_1_9_3/ChangeLog	(revision 42440)
@@ -1,3 +1,12 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/ChangeLog#L1
+Thu Aug  8 16:09:26 2013  NAKAMURA Usaku  <usa@r...>
+
+	* test/coverage/test_coverage.rb (TestCoverage#test_big_code): use `1'
+	  instead of `p' to get rid of a side effect.
+	  Kernel#p without any argument seems to do nothing, but flushes stdout.
+	  and, if stdout is redirected to file, fsync() will be called on
+	  Windows.  so, when running test-all on Windows with redirection, such
+	  as CI environment, this test took a lot of time.
+
 Fri Aug  2 20:41:15 2013  Eric Hodel  <drbrain@s...>
 
 	* ext/openssl/ossl_asn1.c (asn1time_to_time):  Implement YYMMDDhhmmZ
Index: ruby_1_9_3/version.h
===================================================================
--- ruby_1_9_3/version.h	(revision 42439)
+++ ruby_1_9_3/version.h	(revision 42440)
@@ -1,10 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/version.h#L1
 #define RUBY_VERSION "1.9.3"
-#define RUBY_PATCHLEVEL 458
+#define RUBY_PATCHLEVEL 459
 
-#define RUBY_RELEASE_DATE "2013-08-04"
+#define RUBY_RELEASE_DATE "2013-08-08"
 #define RUBY_RELEASE_YEAR 2013
 #define RUBY_RELEASE_MONTH 8
-#define RUBY_RELEASE_DAY 4
+#define RUBY_RELEASE_DAY 8
 
 #include "ruby/version.h"
 
Index: ruby_1_9_3/test/coverage/test_coverage.rb
===================================================================
--- ruby_1_9_3/test/coverage/test_coverage.rb	(revision 42439)
+++ ruby_1_9_3/test/coverage/test_coverage.rb	(revision 42440)
@@ -47,7 +47,7 @@ class TestCoverage < Test::Unit::TestCas https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/test/coverage/test_coverage.rb#L47
     Dir.mktmpdir {|tmp|
       Dir.chdir(tmp) {
         File.open("test.rb", "w") do |f|
-          f.puts "p\n" * 10000
+          f.puts "1\n" * 10000
           f.puts "def ignore(x); end"
           f.puts "ignore([1"
           f.puts "])"

Property changes on: ruby_1_9_3
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r42439


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

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