From 0731a61f79bbc56f304aec0c4336101d8ed99bc0 Mon Sep 17 00:00:00 2001 From: Saurabh Singh Date: Mon, 6 May 2024 16:02:09 -0400 Subject: [PATCH] fix scar --- test/scar/scar.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/scar/scar.py b/test/scar/scar.py index 2b988884..b3e1d05f 100755 --- a/test/scar/scar.py +++ b/test/scar/scar.py @@ -163,7 +163,9 @@ def verify_test(test:dict, compile_outputs:dict, execute_outputs:dict): reg_vals={} with open(execute_outputs["dump_file"], 'r') as dumpfile: for line in dumpfile: - tokens = line.strip().split(' ') + tokens = line.strip().split(':') + for i in range(len(tokens)): + tokens[i] = tokens[i].strip() reg_vals[tokens[0]] = int(tokens[1], 16)