From 9ba399fd1194493b7577358a364b65b044d56c3d Mon Sep 17 00:00:00 2001 From: Andrew Haberlandt Date: Tue, 31 Dec 2024 21:00:03 +0000 Subject: [PATCH] tests: better output in CI --- tests/run_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run_tests.py b/tests/run_tests.py index 88d215e..e1b006c 100644 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -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: