aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-01-04 21:02:10 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-01-04 21:02:10 +0900
commit0d4cd8b9caa0638e1dde5a20911f9141947f9e17 (patch)
tree5e423000b4de3c58b900de520d70f8e1992021ce /test
parent520601e11dc62ec145f0c892a01eb3b91e8255ad (diff)
downloadruby-openssl-0d4cd8b9caa0638e1dde5a20911f9141947f9e17.tar.gz
Stop AutoRunner with test-unit
Diffstat (limited to 'test')
-rw-r--r--test/lib/core_assertions.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/core_assertions.rb b/test/lib/core_assertions.rb
index 7cd598b1..6c09c7ca 100644
--- a/test/lib/core_assertions.rb
+++ b/test/lib/core_assertions.rb
@@ -249,6 +249,7 @@ module Test
out.puts "#{token}<error>", [Marshal.dump($!)].pack('m'), "#{token}</error>", "#{token}assertions=#{self._assertions}"
}
Test::Unit::Runner.class_variable_set(:@@stop_auto_run, true) if defined?(Test::Unit::Runner)
+ Test::Unit::AutoRunner.need_auto_run = false if defined?(Test::Unit::AutoRunner)
end
def assert_separately(args, file = nil, line = nil, src, ignore_stderr: nil, **opt)