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

ruby-changes:18987

From: nagachika <ko1@a...>
Date: Fri, 4 Mar 2011 23:22:37 +0900 (JST)
Subject: [ruby-changes:18987] Ruby:r31023 (trunk): * test/testunit/test_parallel.rb

nagachika	2011-03-04 23:20:23 +0900 (Fri, 04 Mar 2011)

  New Revision: 31023

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

  Log:
    * test/testunit/test_parallel.rb
        (test_should_run_all_without_any_leaks): consider that the order of
        testcase could change. [ruby-dev:43300] [Bug #4466]

  Modified files:
    trunk/ChangeLog
    trunk/test/testunit/test_parallel.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 31022)
+++ ChangeLog	(revision 31023)
@@ -1,3 +1,9 @@
+Fri Mar  4 23:09:12 2011  CHIKANAGA Tomoyuki  <nagachika00@g...>
+
+	* test/testunit/test_parallel.rb
+	  (test_should_run_all_without_any_leaks): consider that the order of
+	  testcase could change. [ruby-dev:43300] [Bug #4466]
+
 Fri Mar  4 22:01:14 2011  KOSAKI Motohiro  <kosaki.motohiro@g...>
 
 	* io.c (io_cntl): change 'cmd' type to int. ioctl and fcntl need to
Index: test/testunit/test_parallel.rb
===================================================================
--- test/testunit/test_parallel.rb	(revision 31022)
+++ test/testunit/test_parallel.rb	(revision 31023)
@@ -154,6 +154,7 @@
       spawn_runner
       buf = timeout(10){@test_out.read}
       assert_match(/^\.+SF\.+F\.*$/,buf)
+      assert_match(/^\.*(\.SF\.*F|F\.*\.+SF)\.*$/,buf)
     end
 
     def test_should_retry_failed_on_workers

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

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