Skip to content

Fix progress information be hidden when run in docker without tty#500

Merged
nxpfrankli merged 2 commits intonxp-imx:masterfrom
atline:fix_nopty_compatibility
Jan 21, 2026
Merged

Fix progress information be hidden when run in docker without tty#500
nxpfrankli merged 2 commits intonxp-imx:masterfrom
atline:fix_nopty_compatibility

Conversation

@atline
Copy link
Copy Markdown
Contributor

@atline atline commented Jan 21, 2026

Detail see #499, this PR resolve windows compatibility.

image image

If no tty, ioctl(0, TIOCGWINSZ, &w) will fail and w.ws_col will
be a garbage value which not stable, program's behavior should
not depend on UB(undefined behavior) which maybe e.g. in docker
container behave totally different.

Signed-off-by: Larry Shen <larry.shen@nxp.com>
Use DISABLE_SUMMARY=true to disable summary line to avoid
not so useful information in automation like LAVA.

Signed-off-by: Larry Shen <larry.shen@nxp.com>
@nxpfrankli nxpfrankli merged commit db792b1 into nxp-imx:master Jan 21, 2026
17 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants