Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
119
Issues
119
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
96faa1b7
Commit
96faa1b7
authored
May 05, 2017
by
MARCHE Claude
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avoid bomb in case of uninstalled prover
parent
72a2b3e0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
src/ide/why3ide.ml
src/ide/why3ide.ml
+1
-2
src/session/controller_itp.ml
src/session/controller_itp.ml
+4
-1
src/session/itp_server.ml
src/session/itp_server.ml
+1
-1
No files found.
src/ide/why3ide.ml
View file @
96faa1b7
...
...
@@ -999,8 +999,7 @@ let image_of_pa_status ~obsolete pa =
|
Controller_itp
.
Scheduled
->
!
image_scheduled
|
Controller_itp
.
Running
->
!
image_running
|
Controller_itp
.
InternalFailure
_e
->
!
image_failure
|
Controller_itp
.
Uninstalled
_p
->
!
image_failure
(* TODO !image_uninstalled *)
(* | None -> !image_undone*)
|
Controller_itp
.
Uninstalled
_p
->
!
image_undone
(* TODO !image_uninstalled *)
|
Controller_itp
.
Done
r
->
let
pr_answer
=
r
.
Call_provers
.
pr_answer
in
begin
...
...
src/session/controller_itp.ml
View file @
96faa1b7
...
...
@@ -863,7 +863,10 @@ let replay ?(obsolete_only=true) ?(use_steps=false)
begin
let
parid
=
pa
.
parent
in
let
pr
=
pa
.
prover
in
(* If use_steps, we give only steps as a limit *)
(* TODO: if pr is not installed, lookup for a replacement policy
OR: delegate this work to the replay_proof_attempt function *)
(* If use_steps, we give only steps as a limit
TODO: steps should not be used if prover was replaced above *)
let
limit
=
if
use_steps
then
Call_provers
.{
empty_limit
with
limit_steps
=
pa
.
limit
.
limit_steps
}
...
...
src/session/itp_server.ml
View file @
96faa1b7
...
...
@@ -903,7 +903,7 @@ let get_locations t =
let
parent
=
node_ID_from_pn
parent_id
in
ignore
(
new_node
~
parent
(
APa
panid
))
end
|
_
->
()
(* TODO ? *)
|
_
->
()
(* TODO ?
status like Uninstalled should not generate a Notification
*)
end
;
let
limit
=
(
get_proof_attempt_node
cont
.
controller_session
panid
)
.
limit
in
let
new_status
=
Proof_status_change
(
pa_status
,
false
,
limit
)
in
...
...
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