From 0529fead361c05754550e39daaa54076a04df6a3 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Tue, 4 Feb 2020 19:29:27 +0900 Subject: assert_separately uses their own pipe instead of stdout --- tool/lib/test/unit/core_assertions.rb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tool/lib/test/unit/core_assertions.rb b/tool/lib/test/unit/core_assertions.rb index 00555d6e32..6742e5043b 100644 --- a/tool/lib/test/unit/core_assertions.rb +++ b/tool/lib/test/unit/core_assertions.rb @@ -110,11 +110,13 @@ module Test file ||= loc.path line ||= loc.lineno end + res_p, res_c = IO.pipe + opt[res_c.fileno] = res_c.fileno src = < marshal_error ignore_stderr = nil end -- cgit v1.2.3