[ruby-cvs:53099] shirosaki:r45953 (trunk): parallel.rb: fix test-all parallel failure

shirosaki at ruby-lang.org shirosaki at ruby-lang.org
Thu May 15 21:31:27 JST 2014


shirosaki	2014-05-15 21:31:26 +0900 (Thu, 15 May 2014)

  New Revision: 45953

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

  Log:
    parallel.rb: fix test-all parallel failure
    
    * lib/test/unit/parallel.rb: fix test-all parallel failure if a test
      is skipped after raise.
      DL::TestFunc#test_sinf is skipped after raise on mingw ruby.
      But it causes Mashal.load failure due to undefined class/module
      DL::DLError when doing test-all parallel and test-all doesn't
      complete. We create new MiniTest::Skip object to avoid Mashal.load
      failure.
      [ruby-core:62133] [Bug #9767]
    
    * test/testunit/test_parallel.rb (TestParallel): add a test.
    
    * test/testunit/tests_for_parallel/ptest_forth.rb: ditto.

  Modified files:
    trunk/ChangeLog
    trunk/lib/test/unit/parallel.rb
    trunk/test/testunit/test_parallel.rb
    trunk/test/testunit/tests_for_parallel/ptest_forth.rb


More information about the ruby-cvs mailing list