From 0226d72e953733759414aa3ffbecfe7eed195858 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 5 Feb 2020 09:35:29 +0900 Subject: Fixed the output from separated test in parallel test To output to the STDOUT of the parent process according to the parallel test protocol, should send to the `MiniTest::Unit.output` instead of each own STDOUT. --- tool/lib/test/unit/core_assertions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/lib/test/unit/core_assertions.rb b/tool/lib/test/unit/core_assertions.rb index b19c3e5d52..3eecf45ace 100644 --- a/tool/lib/test/unit/core_assertions.rb +++ b/tool/lib/test/unit/core_assertions.rb @@ -137,7 +137,7 @@ eom begin if res_c res_c.close - print stdout + MiniTest::Unit.output.print stdout res = Marshal.load(res_p.read.unpack("m")[0]) res_p.close else -- cgit v1.2.3