This commit is contained in:
Yakov Olkhovskiy 2024-10-20 12:38:28 +00:00
parent 157f7c0f47
commit 59c8fe9a24

View File

@ -191,13 +191,13 @@ def process_results(result_path: Path):
elif status[0] == "Timeout":
timeouts += 1
if file_path_out.exists():
result.set_log_files(f"[{file_path_unit}]")
result.set_log_files(f"['{file_path_unit}']")
else:
fails += 1
if file_path_out.exists():
result.set_raw_logs("\n".join(process_error(file_path_out)))
if file_path_unit.exists:
result.set_log_files(f"[{file_path_unit}]")
result.set_log_files(f"['{file_path_unit}']")
test_results.append(result)
return [oks, timeouts, fails, test_results]