mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
envutil.rb: disable gems in child process
* test/ruby/envutil.rb (assert_separately): disable gems by default to get rid of loading test-unit gem, which doesn't have _assertions method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
78d0fdcec9
commit
2c6518c37d
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ module Test
|
|||
@@stop_auto_run = true
|
||||
end
|
||||
eom
|
||||
args = args.dup
|
||||
args = ["--disable=gems", *args]
|
||||
args.insert((Hash === args.first ? 1 : 0), *$:.map {|l| "-I#{l}"})
|
||||
stdout, stderr, status = EnvUtil.invoke_ruby(args, src, true, true, **opt)
|
||||
abort = status.coredump? || (status.signaled? && ABORT_SIGNALS.include?(status.termsig))
|
||||
|
|
Loading…
Add table
Reference in a new issue