summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-04 02:17:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-04 02:17:35 +0000
commit36037442bebe0c3d970141bb2d2c487fa7e03827 (patch)
treec9319d3ce821e7e25d0a0a80d4d09ab919bc33e7
parentfbdec8186e96c48c724ba620ec6f64128999aaf2 (diff)
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
-rw-r--r--test/lib/test/unit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/test/unit.rb b/test/lib/test/unit.rb
index 2be96fe..c092018 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