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
125
Issues
125
List
Boards
Labels
Service Desk
Milestones
Merge Requests
17
Merge Requests
17
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
85ee43ca
Commit
85ee43ca
authored
Apr 14, 2016
by
Andrei Paskevich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Call_provers: fix the TimeOut detection heuristic
parent
f3af1893
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/driver/call_provers.ml
src/driver/call_provers.ml
+1
-2
No files found.
src/driver/call_provers.ml
View file @
85ee43ca
...
...
@@ -194,7 +194,6 @@ let debug_print_model model =
let
model_str
=
Model_parser
.
model_to_string
model
in
Debug
.
dprintf
debug
"Call_provers: %s@."
model_str
let
parse_prover_run
res_parser
time
out
ret
limit
~
printer_mapping
=
let
ans
=
match
ret
with
|
Unix
.
WSTOPPED
n
->
...
...
@@ -217,7 +216,7 @@ let parse_prover_run res_parser time out ret limit ~printer_mapping =
|
_
->
ans
in
let
ans
=
match
ans
,
limit
with
|
(
Unknown
_
|
HighFailure
)
,
{
limit_time
=
tlimit
}
when
time
>=
(
0
.
9
*.
float
tlimit
)
->
Timeout
when
t
limit
>
0
&&
t
ime
>=
(
0
.
9
*.
float
tlimit
)
->
Timeout
|
_
->
ans
in
let
model
=
res_parser
.
prp_model_parser
out
printer_mapping
in
Debug
.
dprintf
debug
"Call_provers: model:@."
;
...
...
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