Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Charles Southerland
frama-c
Commits
cf53a987
Commit
cf53a987
authored
Jul 27, 2020
by
Andre Maroneze
💬
Browse files
[analysis-scripts] simplify summary.py
parent
d837d3aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/analysis-scripts/summary.py
View file @
cf53a987
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment