envutil.rb: env hash
* test/ruby/envutil.rb (assert_separately): keep environment hash first if exists. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9efcd10371
commit
a24b6d3f67
@ -292,7 +292,7 @@ module Test
|
||||
end
|
||||
eom
|
||||
args = args.dup
|
||||
$:.each{|l| args.unshift "-I#{l}" }
|
||||
args.insert((Hash === args.first ? 1 : 0), *$:.map {|l| "-I#{l}"})
|
||||
ignore_stderr = opt.delete(:ignore_stderr)
|
||||
stdout, stderr, status = EnvUtil.invoke_ruby(args, src, true, true, opt)
|
||||
abort = status.coredump? || (status.signaled? && ABORT_SIGNALS.include?(status.termsig))
|
||||
|
Loading…
x
Reference in New Issue
Block a user