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
15
Merge Requests
15
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
87967761
Commit
87967761
authored
Jun 08, 2012
by
MARCHE Claude
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better handling of "out of memory" in particular from CVC3
parent
f4c86e97
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/cvc3_bare.drv
drivers/cvc3_bare.drv
+2
-2
src/driver/call_provers.ml
src/driver/call_provers.ml
+2
-2
No files found.
drivers/cvc3_bare.drv
View file @
87967761
...
...
@@ -7,8 +7,8 @@ filename "%f-%t-%g.cvc"
(* 'fail' must be before 'valid'; otherwise it is ignored *)
fail "Parse Error: \\(.*\\)" "\\1"
valid "Valid."
unknown "Unknown." ""
valid "Valid
\\
."
unknown "Unknown
\\
." ""
outofmemory "Out of memory\\|std::bad_alloc"
time "why3cpulimit time : %s s"
...
...
src/driver/call_provers.ml
View file @
87967761
...
...
@@ -181,10 +181,10 @@ let call_on_file ~command ?(timelimit=0) ?(memlimit=0)
let
ans
=
match
ret
with
|
Unix
.
WSTOPPED
n
->
Debug
.
dprintf
debug
"Call_provers: stopped by signal %d@."
n
;
HighFailure
grep
out
regexps
|
Unix
.
WSIGNALED
n
->
Debug
.
dprintf
debug
"Call_provers: killed by signal %d@."
n
;
HighFailure
grep
out
regexps
|
Unix
.
WEXITED
n
->
Debug
.
dprintf
debug
"Call_provers: exited with status %d@."
n
;
(
try
List
.
assoc
n
exitcodes
with
Not_found
->
grep
out
regexps
)
...
...
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