Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
why3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nils Fitinghoff
why3
Commits
21240a21
Commit
21240a21
authored
Sep 10, 2018
by
Claude Marché
Browse files
Options
Downloads
Patches
Plain Diff
replay: display the new prover name in case of prover upgrade
parent
935f1d7d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/session/controller_itp.ml
+8
-5
8 additions, 5 deletions
src/session/controller_itp.ml
with
8 additions
and
5 deletions
src/session/controller_itp.ml
+
8
−
5
View file @
21240a21
...
...
@@ -1005,7 +1005,8 @@ let replay ~valid_only ~obsolete_only ?(use_steps=false) ?(filter=fun _ -> true)
let
report
=
ref
[]
in
let
found_upgraded_prover
=
ref
false
in
let
craft_report
s
id
pr
limits
pa
=
let
craft_report
s
id
limits
pa
=
let
pr
=
pa
.
Session_itp
.
prover
in
match
s
with
|
UpgradeProver
_
->
found_upgraded_prover
:=
true
|
Removed
_
->
...
...
@@ -1017,9 +1018,11 @@ let replay ~valid_only ~obsolete_only ?(use_steps=false) ?(filter=fun _ -> true)
report
:=
(
id
,
pr
,
limits
,
Replay_interrupted
)
::
!
report
|
Done
new_r
->
decr
count
;
(
match
pa
.
Session_itp
.
proof_state
with
begin
match
pa
.
Session_itp
.
proof_state
with
|
None
->
(
report
:=
(
id
,
pr
,
limits
,
No_former_result
new_r
)
::
!
report
)
|
Some
old_r
->
report
:=
(
id
,
pr
,
limits
,
Result
(
new_r
,
old_r
))
::
!
report
)
|
Some
old_r
->
report
:=
(
id
,
pr
,
limits
,
Result
(
new_r
,
old_r
))
::
!
report
end
|
InternalFailure
e
->
decr
count
;
report
:=
(
id
,
pr
,
limits
,
CallFailed
(
e
))
::
!
report
...
...
@@ -1073,7 +1076,7 @@ let replay ~valid_only ~obsolete_only ?(use_steps=false) ?(filter=fun _ -> true)
in
replay_proof_attempt
c
pr
limit
parid
id
~
callback
:
(
fun
id
s
->
craft_report
s
parid
pr
limit
pa
;
craft_report
s
parid
limit
pa
;
callback
id
s
;
if
!
count
=
0
then
final_callback
!
found_upgraded_prover
!
report
)
...
...
...
...
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