ruby-changes:67040
From: aycabta <ko1@a...>
Date: Wed, 4 Aug 2021 18:30:08 +0900 (JST)
Subject: [ruby-changes:67040] 335c12826a (master): Show the log of test_interrupt_in_other_thread when failed
https://git.ruby-lang.org/ruby.git/commit/?id=335c12826a From 335c12826aecc7dfc3280c2dd26bdd0f17adcaa7 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Tue, 3 Aug 2021 01:20:27 +0900 Subject: Show the log of test_interrupt_in_other_thread when failed --- test/readline/test_readline.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb index be8246b..c2f1839 100644 --- a/test/readline/test_readline.rb +++ b/test/readline/test_readline.rb @@ -543,7 +543,7 @@ module BasetestReadline https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L543 [log, Process.wait2(pid)[1]] end unless asserted - assert false, "Unknown failure with exit status #{status}" + assert false, "Unknown failure with exit status #{status}\nLog: #{log}\n----" end ensure f.close! if f -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/