Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
c91243f0
Commit
c91243f0
authored
2 years ago
by
Loïc Correnson
Committed by
Allan Blanchard
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[wp] fixing test cache miss printing
parent
6e6fc8e6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/wp/Stats.ml
+7
-5
7 additions, 5 deletions
src/plugins/wp/Stats.ml
with
7 additions
and
5 deletions
src/plugins/wp/Stats.ml
+
7
−
5
View file @
c91243f0
...
@@ -235,13 +235,16 @@ let pp_stats ~shell ~updating fmt s =
...
@@ -235,13 +235,16 @@ let pp_stats ~shell ~updating fmt s =
Format
.
fprintf
fmt
" (Tactics %d)"
s
.
tactics
Format
.
fprintf
fmt
" (Tactics %d)"
s
.
tactics
else
if
s
.
tactics
=
1
then
else
if
s
.
tactics
=
1
then
Format
.
fprintf
fmt
" (Tactic)"
;
Format
.
fprintf
fmt
" (Tactic)"
;
let
perfo
=
not
shell
||
(
not
updating
&&
s
.
cached
<
vp
)
in
let
print_cache
=
0
<
s
.
cached
&&
List
.
exists
(
fun
(
p
,_
)
->
p
<>
Qed
)
s
.
provers
in
let
print_perfo
=
not
shell
||
(
print_cache
&&
not
updating
&&
s
.
cached
<
np
)
in
let
qed_only
=
let
qed_only
=
match
s
.
provers
with
[
Qed
,_
]
->
vp
=
np
|
_
->
false
in
match
s
.
provers
with
[
Qed
,_
]
->
vp
=
np
|
_
->
false
in
List
.
iter
List
.
iter
(
fun
(
p
,
pr
)
->
(
fun
(
p
,
pr
)
->
let
success
=
truncate
pr
.
success
in
let
success
=
truncate
pr
.
success
in
let
print_perfo
=
perfo
&&
pr
.
time
>
Rformat
.
epsilon
in
let
print_perfo
=
print_
perfo
&&
pr
.
time
>
Rformat
.
epsilon
in
let
print_proofs
=
success
>
0
&&
np
>
1
in
let
print_proofs
=
success
>
0
&&
np
>
1
in
let
print_qed
=
qed_only
&&
s
.
verdict
=
Valid
&&
vp
=
np
in
let
print_qed
=
qed_only
&&
s
.
verdict
=
Valid
&&
vp
=
np
in
if
p
!=
Qed
||
print_qed
||
print_perfo
||
print_proofs
then
if
p
!=
Qed
||
print_qed
||
print_perfo
||
print_proofs
then
...
@@ -255,9 +258,8 @@ let pp_stats ~shell ~updating fmt s =
...
@@ -255,9 +258,8 @@ let pp_stats ~shell ~updating fmt s =
Format
.
fprintf
fmt
")"
Format
.
fprintf
fmt
")"
end
end
)
s
.
provers
;
)
s
.
provers
;
if
0
<
s
.
cached
&&
List
.
exists
(
fun
(
p
,_
)
->
p
<>
Qed
)
s
.
provers
if
print_cache
then
then
if
s
.
cached
=
np
||
updating
then
if
s
.
cached
=
vp
||
updating
then
Format
.
fprintf
fmt
" (Cached)"
Format
.
fprintf
fmt
" (Cached)"
else
else
if
shell
then
if
shell
then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment