summaryrefslogtreecommitdiff
path: root/cli/tools/test/reporters/dot.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools/test/reporters/dot.rs')
-rw-r--r--cli/tools/test/reporters/dot.rs15
1 files changed, 13 insertions, 2 deletions
diff --git a/cli/tools/test/reporters/dot.rs b/cli/tools/test/reporters/dot.rs
index 4aa3fd89e..cb005b297 100644
--- a/cli/tools/test/reporters/dot.rs
+++ b/cli/tools/test/reporters/dot.rs
@@ -184,7 +184,12 @@ impl TestReporter for DotTestReporter {
_tests: &IndexMap<usize, TestDescription>,
_test_steps: &IndexMap<usize, TestStepDescription>,
) {
- common::report_summary(&self.cwd, &self.summary, elapsed);
+ common::report_summary(
+ &mut std::io::stdout(),
+ &self.cwd,
+ &self.summary,
+ elapsed,
+ );
}
fn report_sigint(
@@ -193,7 +198,13 @@ impl TestReporter for DotTestReporter {
tests: &IndexMap<usize, TestDescription>,
test_steps: &IndexMap<usize, TestStepDescription>,
) {
- common::report_sigint(&self.cwd, tests_pending, tests, test_steps);
+ common::report_sigint(
+ &mut std::io::stdout(),
+ &self.cwd,
+ tests_pending,
+ tests,
+ test_steps,
+ );
}
fn flush_report(