Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tiancaiamao committed Dec 29, 2021
1 parent 8535c9d commit 4aa055f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/check/ut.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4aa055f

Please sign in to comment.