Skip to content

Commit bbf84b3

Browse files
committed
[nextest-runner] clarify how progress bar is hidden with piped stderr
1 parent d9566d3 commit bbf84b3

File tree

1 file changed

+2
-0
lines changed
  • nextest-runner/src/reporter/displayer

1 file changed

+2
-0
lines changed

nextest-runner/src/reporter/displayer/imp.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ impl DisplayReporterBuilder {
9494

9595
ReporterStderr::Terminal => {
9696
let state = ProgressBarState::new(self.test_count, theme_characters.progress_chars);
97+
// Note: even if we create a progress bar here, if stderr is
98+
// piped, indicatif will not show it.
9799
ReporterStderrImpl::TerminalWithBar { state }
98100
}
99101
ReporterStderr::Buffer(buf) => ReporterStderrImpl::Buffer(buf),

0 commit comments

Comments
 (0)