Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
caisar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
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
caisar
Commits
ba36a34d
Commit
ba36a34d
authored
3 years ago
by
Michele Alberti
Browse files
Options
Downloads
Patches
Plain Diff
Add PyRAT data for autodetection.
parent
9e5423c4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
config/caisar-detection-data.conf
+10
-0
10 additions, 0 deletions
config/caisar-detection-data.conf
config/drivers/pyrat.drv
+1
-0
1 addition, 0 deletions
config/drivers/pyrat.drv
tests/autodetect.t
+1
-0
1 addition, 0 deletions
tests/autodetect.t
tests/simple.t
+6
-4
6 additions, 4 deletions
tests/simple.t
with
18 additions
and
4 deletions
config/caisar-detection-data.conf
+
10
−
0
View file @
ba36a34d
...
@@ -20,3 +20,13 @@ version_ok = "1.0.+"
...
@@ -20,3 +20,13 @@ version_ok = "1.0.+"
command
=
"%e --timeout %t %f"
command
=
"%e --timeout %t %f"
driver
=
"drivers/marabou"
driver
=
"drivers/marabou"
use_at_auto_level
=
1
use_at_auto_level
=
1
[
ATP
pyrat
]
name
=
"PyRAT"
exec
=
"pyrat.py"
version_switch
=
"--version"
version_regexp
=
"PyRAT \\([0-9.]+\\)"
version_ok
=
"1.0"
command
=
"%e --timeout %t %f"
driver
=
"drivers/pyrat"
use_at_auto_level
=
1
This diff is collapsed.
Click to expand it.
config/drivers/pyrat.drv
0 → 100644
+
1
−
0
View file @
ba36a34d
(* Why3 drivers for PyRAT *)
This diff is collapsed.
Click to expand it.
tests/autodetect.t
+
1
−
0
View file @
ba36a34d
...
@@ -2,3 +2,4 @@ Test autodetect
...
@@ -2,3 +2,4 @@ Test autodetect
$
caisar
config
-
d
$
caisar
config
-
d
[
caisar
]
Alt
-
Ergo
2.4.0
[
caisar
]
Alt
-
Ergo
2.4.0
Marabou
1.0
.+
Marabou
1.0
.+
PyRAT
1.0
This diff is collapsed.
Click to expand it.
tests/simple.t
+
6
−
4
View file @
ba36a34d
...
@@ -13,15 +13,17 @@ Test verify
...
@@ -13,15 +13,17 @@ Test verify
> EOF
> EOF
<autodetect>0 prover(s) added
<autodetect>0 prover(s) added
<autodetect>Generating strategies:
<autodetect>Generating strategies:
<autodetect>Run: (Marabou --version) > /tmp/build
b7d8c3
.dune/out
e22a8
d 2>&1
<autodetect>Run: (Marabou --version) > /tmp/build
d4bdbe
.dune/out
113e6
d 2>&1
<autodetect>Run: (alt-ergo --version) > /tmp/build
b7d8c3
.dune/out
f61830
2>&1
<autodetect>Run: (alt-ergo --version) > /tmp/build
d4bdbe
.dune/out
b7c794
2>&1
<autodetect>Run: (alt-ergo-2.4.0 --version) > /tmp/build
b7d8c3
.dune/out
36e3db
2>&1
<autodetect>Run: (alt-ergo-2.4.0 --version) > /tmp/build
d4bdbe
.dune/out
216d3e
2>&1
<autodetect>command
'
alt
-
ergo
-
2.4.0
--
version
'
failed. Output:
<autodetect>command
'
alt
-
ergo
-
2.4.0
--
version
'
failed. Output:
sh: 1: alt-ergo-2.4.0: not found
sh: 1: alt-ergo-2.4.0: not found
<autodetect>Run: (pyrat.py --version) > /tmp/buildd4bdbe.dune/outf8b6d4 2>&1
<autodetect>Found prover Alt-Ergo version 2.4.0, OK.
<autodetect>Found prover Alt-Ergo version 2.4.0, OK.
<autodetect>Found prover Marabou version 1.0.+, OK.
<autodetect>Found prover Marabou version 1.0.+, OK.
<autodetect>2 prover(s) added
<autodetect>Found prover PyRAT version 1.0, OK.
<autodetect>3 prover(s) added
(* this is the prelude for Alt-Ergo, version >= 2.4.0 *)
(* this is the prelude for Alt-Ergo, version >= 2.4.0 *)
(* this is a prelude for Alt-Ergo integer arithmetic *)
(* this is a prelude for Alt-Ergo integer arithmetic *)
(* this is a prelude for Alt-Ergo real arithmetic *)
(* this is a prelude for Alt-Ergo real arithmetic *)
...
...
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