зеркало из https://github.com/github/ruby.git
envutil.rb: envutil in child
* test/ruby/envutil.rb (assert_separately): require envutil in the child process too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
cbab48f754
Коммит
80db7cc4fe
|
@ -1,3 +1,8 @@
|
|||
Tue May 21 03:08:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* test/ruby/envutil.rb (assert_separately): require envutil in the
|
||||
child process too.
|
||||
|
||||
Tue May 21 03:07:26 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* string.c (rb_str_conv_enc_opts): should infect.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: us-ascii -*-
|
||||
require "open3"
|
||||
require "timeout"
|
||||
require "test/unit"
|
||||
|
||||
module EnvUtil
|
||||
def rubybin
|
||||
|
@ -283,7 +284,7 @@ module Test
|
|||
line ||= loc.lineno
|
||||
end
|
||||
src = <<eom
|
||||
require 'test/unit';include Test::Unit::Assertions;begin;#{src}
|
||||
require #{__dir__.dump}'/envutil';include Test::Unit::Assertions;begin;#{src}
|
||||
ensure
|
||||
puts [Marshal.dump($!)].pack('m'), "assertions=\#{self._assertions}"
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче