From 4aa055f1c2b9d608a4027366fdad148709615888 Mon Sep 17 00:00:00 2001 From: tiancaiamao Date: Wed, 29 Dec 2021 14:32:04 +0800 Subject: [PATCH] address comment --- tools/check/ut.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/check/ut.go b/tools/check/ut.go index 3b6b89ebfd897..bcb9eb81296e8 100644 --- a/tools/check/ut.go +++ b/tools/check/ut.go @@ -367,6 +367,7 @@ func (n *numa) runTestCase(pkg string, fn string, old bool) (res testResult) { cmd = n.testCommand(exe, fn, old) } cmd.Dir = path.Join(workDir, pkg) + // Combine the test case output, so the run result for failed cases can be displayed. cmd.Stdout = &res.output cmd.Stderr = &res.output if err := cmd.Run(); err != nil {