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

ruby-changes:26339

From: tarui <ko1@a...>
Date: Sat, 15 Dec 2012 08:40:42 +0900 (JST)
Subject: [ruby-changes:26339] tarui:r38390 (trunk): * test/rubygems/test_gem_ext_cmake_builder.rb(test_self_build):

tarui	2012-12-15 08:40:02 +0900 (Sat, 15 Dec 2012)

  New Revision: 38390

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

  Log:
    * test/rubygems/test_gem_ext_cmake_builder.rb(test_self_build):
      get rid of false positive.

  Modified files:
    trunk/ChangeLog
    trunk/test/rubygems/test_gem_ext_cmake_builder.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38389)
+++ ChangeLog	(revision 38390)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Dec 15 08:37:01 2012  Masaya Tarui  <tarui@r...>
+
+	* test/rubygems/test_gem_ext_cmake_builder.rb(test_self_build):
+	  get rid of false positive.
+
 Sat Dec 15 08:05:56 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
 
 	* test/ruby/test_thread.rb (test_uninitialized, test_backtrace,
Index: test/rubygems/test_gem_ext_cmake_builder.rb
===================================================================
--- test/rubygems/test_gem_ext_cmake_builder.rb	(revision 38389)
+++ test/rubygems/test_gem_ext_cmake_builder.rb	(revision 38390)
@@ -36,7 +36,7 @@ install (FILES test.txt DESTINATION bin) https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_ext_cmake_builder.rb#L36
     assert_equal "cmake . -DCMAKE_INSTALL_PREFIX=#{@dest_path}", output.shift
     assert_match(/#{@ext}/, output.shift)
     assert_equal make_command, output.shift
-    assert_equal "", output.shift
+    assert_equal "", output.shift.gsub(/^make\[1\]: (?:Entering|Leaving) directory .*\n/,"")
     assert_equal make_command + " install", output.shift
     assert_match(/test\.txt/, output.shift)
   end

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

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