[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
8242b73c88
commit
5b4eb34726
1 changed files with 5 additions and 2 deletions
|
|
@ -169,8 +169,11 @@ def main() -> None:
|
|||
timeout = 120,
|
||||
)
|
||||
banner = (out.stdout + out.stderr).strip()
|
||||
print(os.path.relpath(binary, install_dir), "->",
|
||||
banner.splitlines()[0] if banner else "(no output)")
|
||||
print(
|
||||
os.path.relpath(binary, install_dir),
|
||||
"->",
|
||||
banner.splitlines()[0] if banner else "(no output)",
|
||||
)
|
||||
if expect not in banner:
|
||||
raise SystemExit(
|
||||
f"FAIL: {binary} did not print '{expect}': rc={out.returncode}\n{banner[:400]}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue