Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
eee9a6a9
Commit
eee9a6a9
authored
5 years ago
by
Loïc Correnson
Browse files
Options
Downloads
Patches
Plain Diff
[wp] hide prover versions in qualif tests
parent
2988c623
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/plugins/wp/VCS.ml
+5
-8
5 additions, 8 deletions
src/plugins/wp/VCS.ml
src/plugins/wp/Why3Provers.ml
+1
-0
1 addition, 0 deletions
src/plugins/wp/Why3Provers.ml
src/plugins/wp/Why3Provers.mli
+1
-0
1 addition, 0 deletions
src/plugins/wp/Why3Provers.mli
with
7 additions
and
8 deletions
src/plugins/wp/VCS.ml
+
5
−
8
View file @
eee9a6a9
...
@@ -90,7 +90,10 @@ let name_of_prover = function
...
@@ -90,7 +90,10 @@ let name_of_prover = function
|
Tactical
->
"script"
|
Tactical
->
"script"
let
title_of_prover
=
function
let
title_of_prover
=
function
|
Why3
s
->
Why3Provers
.
title
s
|
Why3
s
->
if
Wp_parameters
.
has_dkey
dkey_success_only
then
Why3Provers
.
name
s
else
Why3Provers
.
title
s
|
NativeAltErgo
->
"Alt-Ergo (native)"
|
NativeAltErgo
->
"Alt-Ergo (native)"
|
NativeCoq
->
"Coq (native)"
|
NativeCoq
->
"Coq (native)"
|
Qed
->
"Qed"
|
Qed
->
"Qed"
...
@@ -142,13 +145,7 @@ let cmp_prover p q =
...
@@ -142,13 +145,7 @@ let cmp_prover p q =
|
_
,
NativeCoq
->
1
|
_
,
NativeCoq
->
1
|
Why3
p
,
Why3
q
->
Why3Provers
.
compare
p
q
|
Why3
p
,
Why3
q
->
Why3Provers
.
compare
p
q
let
pp_prover
fmt
=
function
let
pp_prover
fmt
p
=
Format
.
pp_print_string
fmt
(
title_of_prover
p
)
|
NativeAltErgo
->
Format
.
pp_print_string
fmt
"Alt-Ergo (Native)"
|
NativeCoq
->
Format
.
pp_print_string
fmt
"Coq (Native)"
|
Why3
smt
->
Format
.
pp_print_string
fmt
(
Why3Provers
.
title
smt
)
|
Qed
->
Format
.
fprintf
fmt
"Qed"
|
Tactical
->
Format
.
pp_print_string
fmt
"Tactical"
let
pp_mode
fmt
m
=
Format
.
pp_print_string
fmt
(
title_of_mode
m
)
let
pp_mode
fmt
m
=
Format
.
pp_print_string
fmt
(
title_of_mode
m
)
module
P
=
struct
type
t
=
prover
let
compare
=
cmp_prover
end
module
P
=
struct
type
t
=
prover
let
compare
=
cmp_prover
end
...
...
This diff is collapsed.
Click to expand it.
src/plugins/wp/Why3Provers.ml
+
1
−
0
View file @
eee9a6a9
...
@@ -92,6 +92,7 @@ let print_wp s =
...
@@ -92,6 +92,7 @@ let print_wp s =
String
.
concat
":"
prv
String
.
concat
":"
prv
let
title
p
=
Pretty_utils
.
sfprintf
"%a"
Why3
.
Whyconf
.
print_prover
p
let
title
p
=
Pretty_utils
.
sfprintf
"%a"
Why3
.
Whyconf
.
print_prover
p
let
name
p
=
p
.
Why3
.
Whyconf
.
prover_name
let
compare
=
Why3
.
Whyconf
.
Prover
.
compare
let
compare
=
Why3
.
Whyconf
.
Prover
.
compare
let
provers
()
=
let
provers
()
=
...
...
This diff is collapsed.
Click to expand it.
src/plugins/wp/Why3Provers.mli
+
1
−
0
View file @
eee9a6a9
...
@@ -35,6 +35,7 @@ val find_fallback : string -> fallback
...
@@ -35,6 +35,7 @@ val find_fallback : string -> fallback
val
print_why3
:
t
->
string
val
print_why3
:
t
->
string
val
print_wp
:
t
->
string
val
print_wp
:
t
->
string
val
title
:
t
->
string
val
title
:
t
->
string
val
name
:
t
->
string
val
compare
:
t
->
t
->
int
val
compare
:
t
->
t
->
int
val
provers
:
unit
->
t
list
val
provers
:
unit
->
t
list
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment