Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Why3
why3
Commits
7ddd738c
Commit
7ddd738c
authored
Sep 10, 2018
by
MARCHE Claude
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replay: remove attempts for uninstalled provers if policy tells to
parent
ebe5592a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1889 additions
and
1976 deletions
+1889
-1976
examples/tests-provers/bv/why3session.xml
examples/tests-provers/bv/why3session.xml
+1884
-1973
src/session/controller_itp.ml
src/session/controller_itp.ml
+5
-3
No files found.
examples/tests-provers/bv/why3session.xml
View file @
7ddd738c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/session/controller_itp.ml
View file @
7ddd738c
...
...
@@ -921,7 +921,7 @@ let find_prover notification c goal_id pr =
(* does a proof using new_pr already exists ? *)
if
Hprover
.
mem
(
get_proof_attempt_ids
c
.
controller_session
goal_id
)
new_pr
then
(* yes, then we remove the attempt *)
`
Keep
(* `Remove *)
(* we keep it for now, because it prevents replay to terminate properly *)
`
Remove
else
begin
(* we modify the prover in-place *)
...
...
@@ -1012,8 +1012,10 @@ let replay ~valid_only ~obsolete_only ?(use_steps=false) ?(filter=fun _ -> true)
let
craft_report
s
id
pr
limits
pa
=
match
s
with
|
UpgradeProver
_
|
Removed
_
->
found_upgraded_prover
:=
true
(* this is certainly wrong: after removed, there will be no more 'Done' notification, so counter should be decreased *)
|
UpgradeProver
_
->
found_upgraded_prover
:=
true
|
Removed
_
->
found_upgraded_prover
:=
true
;
decr
count
|
Scheduled
|
Running
->
()
|
Undone
|
Interrupted
->
decr
count
;
...
...
MARCHE Claude
@marche
mentioned in issue
#180 (closed)
·
Sep 10, 2018
mentioned in issue
#180 (closed)
mentioned in issue #180
Toggle commit list
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