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
7ddd738c
Commit
7ddd738c
authored
Sep 10, 2018
by
Claude Marché
Browse files
Options
Downloads
Patches
Plain Diff
replay: remove attempts for uninstalled provers if policy tells to
parent
ebe5592a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/tests-provers/bv/why3session.xml
+1884
-1973
1884 additions, 1973 deletions
examples/tests-provers/bv/why3session.xml
src/session/controller_itp.ml
+5
-3
5 additions, 3 deletions
src/session/controller_itp.ml
with
1889 additions
and
1976 deletions
examples/tests-provers/bv/why3session.xml
+
1884
−
1973
View file @
7ddd738c
Source diff could not be displayed: it is too large. Options to address this:
view the blob
.
This diff is collapsed.
Click to expand it.
src/session/controller_itp.ml
+
5
−
3
View file @
7ddd738c
...
@@ -921,7 +921,7 @@ let find_prover notification c goal_id pr =
...
@@ -921,7 +921,7 @@ let find_prover notification c goal_id pr =
(* does a proof using new_pr already exists ? *)
(* does a proof using new_pr already exists ? *)
if
Hprover
.
mem
(
get_proof_attempt_ids
c
.
controller_session
goal_id
)
new_pr
if
Hprover
.
mem
(
get_proof_attempt_ids
c
.
controller_session
goal_id
)
new_pr
then
(* yes, then we remove the attempt *)
then
(* yes, then we remove the attempt *)
`
Keep
(* `Remove *)
(* we keep it for now, because it prevents replay to terminate properly *)
`
Remove
else
else
begin
begin
(* we modify the prover in-place *)
(* we modify the prover in-place *)
...
@@ -1012,8 +1012,10 @@ let replay ~valid_only ~obsolete_only ?(use_steps=false) ?(filter=fun _ -> true)
...
@@ -1012,8 +1012,10 @@ let replay ~valid_only ~obsolete_only ?(use_steps=false) ?(filter=fun _ -> true)
let
craft_report
s
id
pr
limits
pa
=
let
craft_report
s
id
pr
limits
pa
=
match
s
with
match
s
with
|
UpgradeProver
_
|
Removed
_
->
found_upgraded_prover
:=
true
|
UpgradeProver
_
->
found_upgraded_prover
:=
true
(* this is certainly wrong: after removed, there will be no more 'Done' notification, so counter should be decreased *)
|
Removed
_
->
found_upgraded_prover
:=
true
;
decr
count
|
Scheduled
|
Running
->
()
|
Scheduled
|
Running
->
()
|
Undone
|
Interrupted
->
|
Undone
|
Interrupted
->
decr
count
;
decr
count
;
...
...
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