зеркало из https://github.com/github/ruby.git
Fixed minitest dependency bug by removing env PARALLEL checks (no clue why that was there). Exactly the same minitest code tho.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
2ffbe0345d
Коммит
8daa0d49cf
|
@ -8,7 +8,7 @@
|
|||
require 'minitest/autorun'
|
||||
|
||||
class TestMiniTestMock < MiniTest::Unit::TestCase
|
||||
parallelize_me! if ENV["PARALLEL"]
|
||||
parallelize_me!
|
||||
|
||||
def setup
|
||||
@mock = MiniTest::Mock.new.expect(:foo, nil)
|
||||
|
@ -278,7 +278,7 @@ end
|
|||
require "minitest/metametameta"
|
||||
|
||||
class TestMiniTestStub < MiniTest::Unit::TestCase
|
||||
parallelize_me! if ENV["PARALLEL"]
|
||||
parallelize_me!
|
||||
|
||||
def setup
|
||||
super
|
||||
|
|
|
@ -598,7 +598,7 @@ class TestMetaStatic < MiniTest::Unit::TestCase
|
|||
end
|
||||
|
||||
class TestMeta < MiniTest::Unit::TestCase
|
||||
parallelize_me! if ENV["PARALLEL"]
|
||||
parallelize_me!
|
||||
|
||||
def util_structure
|
||||
x = y = z = nil
|
||||
|
|
|
@ -6,15 +6,14 @@
|
|||
######################################################################
|
||||
|
||||
require 'pathname'
|
||||
require_relative 'metametameta'
|
||||
require 'minitest/parallel_each'
|
||||
require 'minitest/metametameta'
|
||||
|
||||
module MyModule; end
|
||||
class AnError < StandardError; include MyModule; end
|
||||
class ImmutableString < String; def inspect; super.freeze; end; end
|
||||
|
||||
class TestMiniTestUnit < MetaMetaMetaTestCase
|
||||
parallelize_me! if ENV["PARALLEL"]
|
||||
parallelize_me!
|
||||
|
||||
pwd = Pathname.new File.expand_path Dir.pwd
|
||||
basedir = Pathname.new(File.expand_path "lib/minitest") + 'mini'
|
||||
|
@ -1762,7 +1761,7 @@ class TestMiniTestUnitTestCase < MiniTest::Unit::TestCase
|
|||
end
|
||||
|
||||
class TestMiniTestGuard < MiniTest::Unit::TestCase
|
||||
parallelize_me! if ENV["PARALLEL"]
|
||||
parallelize_me!
|
||||
|
||||
def test_mri_eh
|
||||
assert self.class.mri? "ruby blah"
|
||||
|
|
Загрузка…
Ссылка в новой задаче