Skip to content

Commit

Permalink
tests: better output in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ndrewh committed Dec 31, 2024
1 parent 182f4fd commit 9ba399f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def run_test(c_file, python_file, run_opts, expected_result, test_name, debug, n
result_str = ""
try:
if not run_opts.attach:
result = subprocess.run(f"pyda {p_path.resolve()} -- {c_exe.resolve()}", env=env, stdin=subprocess.DEVNULL, shell=True, timeout=TIMEOUT, capture_output=True)
result = subprocess.run(f"pyda {p_path.resolve()} -- {c_exe.resolve()}", env=env, stdin=subprocess.DEVNULL, shell=True, timeout=TIMEOUT, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
stdout = result.stdout
stderr = result.stderr
else:
Expand Down

0 comments on commit 9ba399f

Please sign in to comment.