Skip to content

Commit 2942eae

Browse files
committed
kevm-pyk/__main__: better list message
1 parent 574932f commit 2942eae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kevm-pyk/src/kevm_pyk/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,11 +504,12 @@ def exec_foundry_list(
504504
for kcfg_file in paths:
505505
with open(kcfg_file, 'r') as kf:
506506
kcfg = KCFG.from_dict(json.loads(kf.read()))
507+
kcfg_name = kcfg_file.name[0:-5]
507508
total_nodes = len(kcfg.nodes)
508509
frontier_nodes = len(kcfg.frontier)
509510
stuck_nodes = len(kcfg.stuck)
510511
proven = 'passed' if frontier_nodes + stuck_nodes == 0 else 'failed'
511-
print(f'{kcfg_file}: {proven}')
512+
print(f'{kcfg_name}: {proven}')
512513
if details:
513514
print(f' nodes: {total_nodes}')
514515
print(f' frontier: {frontier_nodes}')

0 commit comments

Comments
 (0)