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
119
Issues
119
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
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
6e7481f0
Commit
6e7481f0
authored
Jun 21, 2017
by
MARCHE Claude
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make CE regression tests more robust
parent
96e70c76
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
19 deletions
+24
-19
.gitignore
.gitignore
+1
-0
bench/ce-bench
bench/ce-bench
+4
-3
bench/ce/logic.mlw.oracle
bench/ce/logic.mlw.oracle
+19
-16
No files found.
.gitignore
View file @
6e7481f0
...
...
@@ -51,6 +51,7 @@ why3.conf
/bench/programs/good/loops/
/bench/programs/good/po/
/bench/valid/list/
/bench/ce/*.out
# /bin/
/bin/why3.byte
...
...
bench/ce-bench
View file @
6e7481f0
#!/bin/sh
dir
=
`
dirname
$0
`
case
"
$1
"
in
"-update-oracle"
)
...
...
@@ -14,7 +15,7 @@ esac
run_cvc4_15
()
{
echo
-n
"
$1
... "
why3prove
-P
"CVC4,1.5-prerelease"
--get-ce
$1
>
$1
.out
$dir
/../bin/why3prove.opt
-P
"CVC4,1.5-prerelease"
--get-ce
$1
>
$1
.out
if
cmp
$1
.oracle
$1
.out
>
/dev/null 2>&1
;
then
echo
"ok"
else
...
...
@@ -33,6 +34,6 @@ run_cvc4_15 () {
for
f
in
bench
/ce/
*
.mlw
;
do
for
f
in
$dir
/ce/
*
.mlw
;
do
run_cvc4_15
$f
done
\ No newline at end of file
done
bench/ce/logic.mlw.oracle
View file @
6e7481f0
bench/ce/logic.mlw T g0 : Invalid (0.00s)
Counter-example model:File bench/ce/logic.mlw:
Line 6:
x = {"type"
:"Integer"
,
"val"
:"48"
}
x = {"type"
: "Integer"
,
"val"
: "48"
}
bench/ce/logic.mlw T g1 : Invalid (0.00s)
Counter-example model:File bench/ce/logic.mlw:
Line 10:
x = {"type"
:"Integer"
,
"val"
:"0"
}
x = {"type"
: "Integer"
,
"val"
: "0"
}
bench/ce/logic.mlw T g2 : Invalid (0.00s)
Counter-example model:File bench/ce/logic.mlw:
Line 12:
X = {"type":"Integer", "val":"1"}
x2 = {"type":"Integer",
"val":"1"}
x3 = {"type":"Integer", "val":"1"}
x4 = {"type":"Integer",
"val":"1"}
x5 = {"type":"Integer", "val":"1"}
x6 = {"type":"Integer",
"val":"1"}
x7 = {"type":"Integer", "val":"1"}
x8 = {"type":"Integer",
"val":"1"}
X = {"type" : "Integer" , "val" : "1" }
x2 = {"type" : "Integer" ,
"val" : "1" }
x3 = {"type" : "Integer" ,
"val" : "1" }
x4 = {"type" : "Integer" ,
"val" : "1" }
x5 = {"type" : "Integer" ,
"val" : "1" }
x6 = {"type" : "Integer" ,
"val" : "1" }
x7 = {"type" : "Integer" ,
"val" : "1" }
x8 = {"type" : "Integer" ,
"val" : "1" }
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