Project

General

Profile

Actions

Bug #9767

closed

test-all parallel fails if a test is skipped after raise

Added by h.shirosaki (Hiroshi Shirosaki) about 10 years ago. Updated over 9 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.0dev (2014-04-15 trunk 45590) [i386-mingw32]
[ruby-core:62133]

Description

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. I added a test for the bug.


Files

Actions #1

Updated by Anonymous almost 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r45953.


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.

Updated by usa (Usaku NAKAMURA) almost 10 years ago

  • Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: REQUIRED, 2.1: REQUIRED

Updated by nagachika (Tomoyuki Chikanaga) almost 10 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: REQUIRED, 2.1: DONE

Backported into ruby_2_1 branch at r46916.

Updated by usa (Usaku NAKAMURA) over 9 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: DONE to 2.0.0: DONE, 2.1: DONE

backported into ruby_2_0_0 at r47338.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0