Skip to content

Commit

Permalink
[ruby/openssl] Stop AutoRunner with test-unit
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Jan 4, 2023
1 parent 837ef89 commit 1f2fef1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tool/lib/core_assertions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ def separated_runner(token, out = nil)
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)
Expand Down

0 comments on commit 1f2fef1

Please sign in to comment.