From 69604c2d7dafe8b826546bf1b27e62bc97180697 Mon Sep 17 00:00:00 2001 From: happyguoxy Date: Thu, 21 Nov 2024 18:05:44 +0800 Subject: [PATCH] test:alter crashgen report --- .../pytest/auto_crash_gen_valgrind_cluster.py | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/pytest/auto_crash_gen_valgrind_cluster.py b/tests/pytest/auto_crash_gen_valgrind_cluster.py index b6c98fbf94..522ad48640 100755 --- a/tests/pytest/auto_crash_gen_valgrind_cluster.py +++ b/tests/pytest/auto_crash_gen_valgrind_cluster.py @@ -387,18 +387,18 @@ def main(): core_dir = "none" text = f''' - Result: {msg_dict[status]} +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} - ''' +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)