diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-30 04:33:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-30 04:33:00 +0000 |
commit | fbc4d07087334b970ef1c26d5f8c0d5b569719a5 (patch) | |
tree | 24b4e5d52fd0b72e18c5373cdb44fc18255cdf74 /test/lib/envutil.rb | |
parent | 83cd51e3fe6e1e2be1375602274caa6ae0ac2a86 (diff) | |
download | ruby-fbc4d07087334b970ef1c26d5f8c0d5b569719a5.tar.gz |
envutil.rb: -w for assert_separately
* test/lib/envutil.rb (assert_separately): always add -w option
for warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib/envutil.rb')
-rw-r--r-- | test/lib/envutil.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/envutil.rb b/test/lib/envutil.rb index b739053488..2a0334dedb 100644 --- a/test/lib/envutil.rb +++ b/test/lib/envutil.rb @@ -401,7 +401,7 @@ module Test end eom args = args.dup - args.insert((Hash === args.first ? 1 : 0), "--disable=gems", *$:.map {|l| "-I#{l}"}) + args.insert((Hash === args.first ? 1 : 0), "-w", "--disable=gems", *$:.map {|l| "-I#{l}"}) stdout, stderr, status = EnvUtil.invoke_ruby(args, src, true, true, timeout_error: nil, **opt) abort = status.coredump? || (status.signaled? && ABORT_SIGNALS.include?(status.termsig)) assert(!abort, FailDesc[status, nil, stderr]) |