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:
ryan 2013-05-10 00:55:03 +00:00
Родитель 2ffbe0345d
Коммит 8daa0d49cf
3 изменённых файлов: 6 добавлений и 7 удалений

Просмотреть файл

@ -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"