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

ruby-changes:24457

From: luislavena <ko1@a...>
Date: Tue, 24 Jul 2012 08:12:55 +0900 (JST)
Subject: [ruby-changes:24457] luislavena:r36508 (trunk): Fix win32ole test failure under mingw-w64 (x64-mingw32)

luislavena	2012-07-24 08:10:03 +0900 (Tue, 24 Jul 2012)

  New Revision: 36508

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

  Log:
    Fix win32ole test failure under mingw-w64 (x64-mingw32)
    
    * test/win32ole/test_win32ole_method.rb (is_ruby64?): Correct platform
      used to identify mingw-w64 (x64-mingw32). Patch by Hiroshi Shirosaki.
      [ruby-core:46651][Bug #6782]

  Modified files:
    trunk/ChangeLog
    trunk/test/win32ole/test_win32ole_method.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36507)
+++ ChangeLog	(revision 36508)
@@ -1,3 +1,9 @@
+Tue Jul 24 08:09:30 2012  Luis Lavena  <luislavena@g...>
+
+	* test/win32ole/test_win32ole_method.rb (is_ruby64?): Correct platform
+	  used to identify mingw-w64 (x64-mingw32). Patch by Hiroshi Shirosaki.
+	  [ruby-core:46651][Bug #6782]
+
 Tue Jul 24 07:22:58 2012  Eric Hodel  <drbrain@s...>
 
 	* time.c (time_sec):  Updated description of leap seconds for accuracy.
Index: test/win32ole/test_win32ole_method.rb
===================================================================
--- test/win32ole/test_win32ole_method.rb	(revision 36507)
+++ test/win32ole/test_win32ole_method.rb	(revision 36508)
@@ -109,7 +109,7 @@
     end
 
     def is_ruby64?
-      /mswin64|mingw64/ =~ RUBY_PLATFORM
+      /mswin64|x64-mingw/ =~ RUBY_PLATFORM
     end
 
     def test_offset_vtbl

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

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