Skip to content

Commit

Permalink
output more debug info when ci failed
Browse files Browse the repository at this point in the history
  • Loading branch information
ken4647 committed Jun 25, 2024
1 parent 715bb79 commit b5ba43b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/test/app_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def eval_nginx(arch: str):
# 2024-06-25 16:42:03 (776 MB/s) - ‘index.html’ saved [3159/3159]
if not "saved" in test.stderr:
print(test.stdout)
print(test.stderr)
return 1 # failed

test = subprocess.run(RM_CMD,
Expand Down Expand Up @@ -230,6 +231,7 @@ def eval_wamr(arch: str):

if not "Hello world!" in wamr_server.stdout:
print(wamr_server.stdout)
print(wamr_server.stderr)
return 1 # failed

return wamr_server.returncode
Expand Down

0 comments on commit b5ba43b

Please sign in to comment.