From 36037442bebe0c3d970141bb2d2c487fa7e03827 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 4 Feb 2017 02:17:35 +0000 Subject: [PATCH] test/unit.rb: initialize instance variable * test/lib/test/unit.rb (Test::Unit::Parallel#non_options): initialize @jobserver instance variable to suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/lib/test/unit.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/lib/test/unit.rb b/test/lib/test/unit.rb index 2be96fe600..c092018e16 100644 --- a/test/lib/test/unit.rb +++ b/test/lib/test/unit.rb @@ -135,6 +135,7 @@ module Test end def non_options(files, options) + @jobserver = nil if !options[:parallel] and /(?:\A|\s)--jobserver-auth=(\d+),(\d+)/ =~ ENV["MAKEFLAGS"] begin