diff --git a/tests/pytest/auto_crash_gen.py b/tests/pytest/auto_crash_gen.py index 26cd303d62..f6b31b4691 100755 --- a/tests/pytest/auto_crash_gen.py +++ b/tests/pytest/auto_crash_gen.py @@ -366,18 +366,18 @@ def main(): core_dir = "none" text = f''' - Result: {msg_dict[status]} - - Details - Owner: Jayden Jia - Start time: {starttime} - End time: {endtime} - Hostname: {hostname} - Commit: {git_commit} - Cmd: {cmd} - Log dir: {log_dir} - Core dir: {core_dir} - ''' +Result: {msg_dict[status]} + +Details +Owner: Jayden Jia +Start time: {starttime} +End time: {endtime} +Hostname: {hostname} +Commit: {git_commit} +Cmd: {cmd} +Log dir: {log_dir} +Core dir: {core_dir} +''' text_result=text.split("Result: ")[1].split("Details")[0].strip() print(text_result)