[前][次][番号順一覧][スレッド一覧]

ruby-changes:69720

From: Yusuke <ko1@a...>
Date: Sun, 14 Nov 2021 02:36:01 +0900 (JST)
Subject: [ruby-changes:69720] 4d8d8c9d49 (master): test/io/console/test_io_console.rb: dump debug output to stderr

https://git.ruby-lang.org/ruby.git/commit/?id=4d8d8c9d49

From 4d8d8c9d4908a28e22c3182e27eac0e397e23833 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Sun, 14 Nov 2021 02:35:03 +0900
Subject: test/io/console/test_io_console.rb: dump debug output to stderr

make test-all in parallel mode seems to hide stdout
---
 test/io/console/test_io_console.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb
index 00727a14b4a..d79ad1a0844 100644
--- a/test/io/console/test_io_console.rb
+++ b/test/io/console/test_io_console.rb
@@ -10,7 +10,8 @@ class TestIO_Console < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/io/console/test_io_console.rb#L10
   begin
     PATHS = $LOADED_FEATURES.grep(%r"/io/console(?:\.#{RbConfig::CONFIG['DLEXT']}|\.rb|/\w+\.rb)\z") {$`}
   rescue Encoding::CompatibilityError
-    p $LOADED_FEATURES
+    $stderr.puts "test_io_console.rb debug"
+    $stderr.puts $LOADED_FEATURES.inspect
     raise
   end
   PATHS.uniq!
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]