Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
f2f28649
Commit
f2f28649
authored
Oct 25, 2010
by
Francois Bobot
Browse files
Print the command used for version detection
parent
b9513d9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/driver/autodetection.ml
View file @
f2f28649
...
...
@@ -70,7 +70,8 @@ let load rc =
tps
let
read_auto_detection_data
main
=
let
filename
=
Filename
.
concat
(
Whyconf
.
datadir
main
)
"provers-detection-data.conf"
in
let
filename
=
Filename
.
concat
(
Whyconf
.
datadir
main
)
"provers-detection-data.conf"
in
try
let
rc
=
Rc
.
from_file
filename
in
load
rc
...
...
@@ -102,6 +103,7 @@ let detect_prover main acc data =
let
out
=
Filename
.
temp_file
"out"
""
in
let
cmd
=
sprintf
"%s %s"
com
data
.
version_switch
in
let
c
=
sprintf
"(%s) > %s"
cmd
out
in
eprintf
"Run : %s@."
c
;
let
ret
=
Sys
.
command
c
in
if
ret
<>
0
then
begin
...
...
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