From fbc4d07087334b970ef1c26d5f8c0d5b569719a5 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 30 Jul 2015 04:33:00 +0000 Subject: 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 --- test/lib/envutil.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/lib') 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]) -- cgit v1.2.3