Skip to content
Snippets Groups Projects
Commit cf53a987 authored by Andre Maroneze's avatar Andre Maroneze
Browse files

[analysis-scripts] simplify summary.py

parent d837d3aa
No related branches found
No related tags found
No related merge requests found
......@@ -55,11 +55,11 @@ def list_targets(dir):
targets = res.stdout.split()
res = []
for target in targets:
if target.endswith(".eva") or target.endswith(".parse"):
res.append(dir + "/" + target)
target_path = f"{dir}/{target}"
if os.path.isdir(target_path):
res.append(target_path)
else:
res += [dir + "/" + t for t in list_targets(target)]
print(f"list_targets returning: {res}")
raise OperationException(f"target is not a directory: {target_path}")
return res
def clone_frama_c(clonedir, hash):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment