diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-02-05 09:35:29 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-02-05 09:39:14 +0900 |
commit | 0226d72e953733759414aa3ffbecfe7eed195858 (patch) | |
tree | fe05298043b5905b3690f2bac4caec85c74d1a66 | |
parent | 6fe44576b90c846b763fb46b1d22b4a664a5066e (diff) |
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.
-rw-r--r-- | tool/lib/test/unit/core_assertions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |