test:alter crashgen report
This commit is contained in:
parent
7baf371628
commit
c02e4085d6
|
@ -366,18 +366,18 @@ def main():
|
||||||
core_dir = "none"
|
core_dir = "none"
|
||||||
|
|
||||||
text = f'''
|
text = f'''
|
||||||
Result: {msg_dict[status]}
|
Result: {msg_dict[status]}
|
||||||
|
|
||||||
Details
|
Details
|
||||||
Owner: Jayden Jia
|
Owner: Jayden Jia
|
||||||
Start time: {starttime}
|
Start time: {starttime}
|
||||||
End time: {endtime}
|
End time: {endtime}
|
||||||
Hostname: {hostname}
|
Hostname: {hostname}
|
||||||
Commit: {git_commit}
|
Commit: {git_commit}
|
||||||
Cmd: {cmd}
|
Cmd: {cmd}
|
||||||
Log dir: {log_dir}
|
Log dir: {log_dir}
|
||||||
Core dir: {core_dir}
|
Core dir: {core_dir}
|
||||||
'''
|
'''
|
||||||
text_result=text.split("Result: ")[1].split("Details")[0].strip()
|
text_result=text.split("Result: ")[1].split("Details")[0].strip()
|
||||||
print(text_result)
|
print(text_result)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue