Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sasa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
verimag
synchrone
sasa
Commits
a38d4757
Commit
a38d4757
authored
1 year ago
by
erwan
Browse files
Options
Downloads
Patches
Plain Diff
test: exit 2 in run-kind2.sh when kind2 fails to prove a property
parent
c89f8d64
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
salut/test/bfs-spanning-tree/Makefile
+2
-2
2 additions, 2 deletions
salut/test/bfs-spanning-tree/Makefile
salut/test/run-kind2.sh
+7
-6
7 additions, 6 deletions
salut/test/run-kind2.sh
with
9 additions
and
8 deletions
salut/test/bfs-spanning-tree/Makefile
+
2
−
2
View file @
a38d4757
...
...
@@ -11,8 +11,8 @@ include ./Makefile.dot
# Non-regression tests
test
:
tree13.lurette
$(
RUN_KIND2
)
tree 3 closure
$(
RUN_KIND2
)
tree 2
theorem
../run-kind2.sh
tree 3 closure
../run-kind2.sh
tree 2
ok
clean
:
genclean
...
...
This diff is collapsed.
Click to expand it.
salut/test/run-kind2.sh
+
7
−
6
View file @
a38d4757
...
...
@@ -54,7 +54,7 @@ kind2 --version || { echo "kind2 is not installed. try: opam install kind2" ; ex
n
=
$2
main
=
$1$2
prop
=
ok
daemon
=
daemon_is_
distributed
daemon
=
distributed
int
=
int8
solver
=
Bitwuzla
shift
...
...
@@ -65,7 +65,7 @@ kind2 --version || { echo "kind2 is not installed. try: opam install kind2" ; ex
n
=
$2
main
=
$1$2
prop
=
$3
daemon
=
daemon_is_
distributed
daemon
=
distributed
int
=
int8
solver
=
Bitwuzla
shift
...
...
@@ -130,7 +130,7 @@ echo "function daemon<<const an:int; const n:int>> = daemon_is_$daemon<<an,n>>;"
kind2_opt
=
"--timeout 36000 -json -v "
kind2_opt
=
"--enable BMC --enable IND --timeout 36000 -json -v"
kind2_opt
=
"--enable BMC --enable IND --enable IC3 --timeout 36000"
kind2_opt
=
"--smt_solver
$solver
--enable BMC --enable IND --timeout 10000
$@
"
kind2_opt
=
"
--exit_code_mode results_and_errors
--smt_solver
$solver
--enable BMC --enable IND --timeout 10000
$@
"
# --qe_method {precise|impl|cooper}
...
...
@@ -187,7 +187,8 @@ printf "%s %s | %s | %s | %s | %s | %.2f-%.2f | %s | %s | %s | %s |\n" $pb $algo
echo
"cf
${
ALL_RESULT
}
"
if
[
-neq
$pb
"|"
]
then
exit
2
if
[
"
$pb
"
=
"|"
]
;
then
echo
"kind2 proved the property."
else
exit
2
fi
\ No newline at end of file
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