diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-01-04 21:02:10 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-01-04 21:02:10 +0900 |
commit | 0d4cd8b9caa0638e1dde5a20911f9141947f9e17 (patch) | |
tree | 5e423000b4de3c58b900de520d70f8e1992021ce /test | |
parent | 520601e11dc62ec145f0c892a01eb3b91e8255ad (diff) | |
download | ruby-openssl-0d4cd8b9caa0638e1dde5a20911f9141947f9e17.tar.gz |
Stop AutoRunner with test-unit
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/core_assertions.rb | 1 |
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) |