summaryrefslogtreecommitdiff
path: root/tool
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-05 08:06:49 +0900
commit1f2fef1f9ac03fb01a3150f953e2194e58e437ea (patch)
treedef62d6a05c5b644f8669caf9fce75383b095df9 /tool
parent837ef8911c638c3e2bdb6af710de7c1fac7b5f90 (diff)
[ruby/openssl] Stop AutoRunner with test-unit
https://github.com/ruby/openssl/commit/0d4cd8b9ca
Diffstat (limited to 'tool')
-rw-r--r--tool/lib/core_assertions.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/lib/core_assertions.rb b/tool/lib/core_assertions.rb
index 7cd598b1ab..6c09c7cab6 100644
--- a/tool/lib/core_assertions.rb
+++ b/tool/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)