diff --git a/run.py b/run.py index 08f52f6..6de97be 100755 --- a/run.py +++ b/run.py @@ -207,20 +207,20 @@ if __name__ == "__main__": print("Summary:\n") - logs = [] + logs = "" if success: print(f"Successful tests:\n") for s in success: - log = f"[OK] {s}" + log = f"[OK] {s}\n" print(log) - logs.append(log) + logs += log if failures: print(f"\n\nFailed tests:\n") for _, (test, error) in enumerate(failures.items()): log = f"[FAIL] {test} failed with error:\n{error}\n-----\n" print(log) - logs.append(log) + logs += log upload_logs_to_ftest(len(failures) == 0, logs)