Skip Test::Unit::AutoRunner logic in ruby/ruby repository
This commit is contained in:
parent
1f2fef1f9a
commit
b496578758
@ -248,8 +248,11 @@ module Test
|
|||||||
at_exit {
|
at_exit {
|
||||||
out.puts "#{token}<error>", [Marshal.dump($!)].pack('m'), "#{token}</error>", "#{token}assertions=#{self._assertions}"
|
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)
|
if defined?(Test::Unit::Runner)
|
||||||
Test::Unit::AutoRunner.need_auto_run = false if defined?(Test::Unit::AutoRunner)
|
Test::Unit::Runner.class_variable_set(:@@stop_auto_run, true)
|
||||||
|
elsif defined?(Test::Unit::AutoRunner)
|
||||||
|
Test::Unit::AutoRunner.need_auto_run = false
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def assert_separately(args, file = nil, line = nil, src, ignore_stderr: nil, **opt)
|
def assert_separately(args, file = nil, line = nil, src, ignore_stderr: nil, **opt)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user