Forum: Ruby-core test-all parallel fails if a test is skipped after raise

8cbb39dadafaf2287a83a13ee4981ec9?d=identicon&s=25 unknown (Guest)
on 2014-08-31 09:36
(Received via mailing list)
Issue #9767 has been updated by Usaku NAKAMURA.

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.

----------------------------------------
Bug #9767: test-all parallel fails if a test is skipped after raise
https://bugs.ruby-lang.org/issues/9767#change-48587

* Author: Hiroshi Shirosaki
* Status: Closed
* Priority: Normal
* Assignee:
* Category: test
* Target version:
* ruby -v: ruby 2.2.0dev (2014-04-15 trunk 45590) [i386-mingw32]
* Backport: 2.0.0: DONE, 2.1: DONE
----------------------------------------
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--------------------------------
0001-test-all-parallel-fails-if-a-test-is-skipped-after-r.patch (3.27
KB)
This topic is locked and can not be replied to.