From 08d3e239e8870e16571401952db9b9245c2345de Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Wed, 9 Dec 2020 12:56:41 +0100 Subject: Added segfault report log with arguments --- prettier.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'prettier.py') diff --git a/prettier.py b/prettier.py index 1833a71..04bb04c 100644 --- a/prettier.py +++ b/prettier.py @@ -6,7 +6,7 @@ # By: cacharle +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/02/05 23:04:13 by cacharle #+# #+# # -# Updated: 2020/05/04 14:44:44 by charles ### ########.fr # +# Updated: 2020/12/09 12:56:07 by charles ### ########.fr # # # # **************************************************************************** # @@ -45,7 +45,7 @@ def parse(): continue m = None if line.find("SEGFAULT") != -1: - name = line[4:] + name = line[4:line.find("with")] else: m = re.search("^KO: \[COMPARE\]: (.*): expected: (.*) got: (.*)( with: .*)?$", line) if m is None: @@ -65,7 +65,7 @@ def parse(): "type": "SEGFAULT", "expected": None, "actual": None, - "with": None + "with": line[line.find("with:") + len("with:"):] }) else: l["ko_info"].append({ -- cgit