diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-01-05 08:16:24 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-01-05 08:16:24 +0900 |
commit | b496578758faa67490cf196b70e7cfbfd2ff7f3d () | |
tree | 7b52678271f3ea121e18182f76842d2b4b8e784f /tool/lib | |
parent | 1f2fef1f9ac03fb01a3150f953e2194e58e437ea (diff) |
Skip Test::Unit::AutoRunner logic in ruby/ruby repository
-rw-r--r-- | tool/lib/core_assertions.rb | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -248,8 +248,11 @@ module Test at_exit { 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) |