Skip to content

Commit

Permalink
fix scar
Browse files Browse the repository at this point in the history
  • Loading branch information
saursin committed May 6, 2024
1 parent 9e034de commit 0731a61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/scar/scar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 0731a61

Please sign in to comment.