Skip to content

Commit

Permalink
Revert "testsuite: debug"
Browse files Browse the repository at this point in the history
This reverts commit 02e8930.
  • Loading branch information
newAM committed May 11, 2024
1 parent f8ef2f8 commit dca1759
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions testsuite/runall.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,18 @@ async def probe_run(elf_path: str, probe: str, log_prefix: str) -> TestResult:
elf_path,
"--probe",
probe,
# stdout=asyncio.subprocess.PIPE,
# stderr=asyncio.subprocess.STDOUT,
stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.STDOUT,
)
rc = await proc.wait()
elapsed = time.monotonic() - start

# for line in (
# (await proc.stdout.read())
# .decode(encoding="UTF-8", errors="backslashreplace")
# .splitlines()
# ):
# print(f"[{log_prefix}] {line.rstrip()}")
for line in (
(await proc.stdout.read())
.decode(encoding="UTF-8", errors="backslashreplace")
.splitlines()
):
print(f"[{log_prefix}] {line.rstrip()}")

return TestResult(rc=rc, elf_abs_path=elf_path, probe=probe, elapsed=elapsed)

Expand Down

0 comments on commit dca1759

Please sign in to comment.