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
474aecae
"src/plugins/e-acsl/tests/bts/oracle/bts2191.res.oracle" did not exist on "0bf19f5e46a9848e1321ef4bffad995abebe7dfa"
Commit
474aecae
authored
2 years ago
by
Michele Alberti
Browse files
Options
Downloads
Patches
Plain Diff
[SAVer] Use more robust realpath rather than prefixing the cwd path.
parent
30fefc19
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/verification.ml
+6
-5
6 additions, 5 deletions
src/verification.ml
with
6 additions
and
5 deletions
src/verification.ml
+
6
−
5
View file @
474aecae
...
@@ -112,8 +112,8 @@ let answer_saver limit config task env prover dataset_csv =
...
@@ -112,8 +112,8 @@ let answer_saver limit config task env prover dataset_csv =
|
_
->
failwith
"Unsupported by SAVer."
)
|
_
->
failwith
"Unsupported by SAVer."
)
|
_
->
failwith
"Unsupported by SAVer."
|
_
->
failwith
"Unsupported by SAVer."
in
in
let
svm_file
=
Filename
.
concat
(
Caml
.
Sys
.
getcwd
()
)
svm_filename
in
let
svm_file
=
Unix
.
realpath
svm_filename
in
let
dataset_file
=
Filename
.
concat
(
Caml
.
Sys
.
getcwd
()
)
dataset_filename
in
let
dataset_file
=
Unix
.
realpath
dataset_filename
in
let
command
=
Re__Core
.
replace_string
svm
~
by
:
svm_file
command
in
let
command
=
Re__Core
.
replace_string
svm
~
by
:
svm_file
command
in
let
command
=
Re__Core
.
replace_string
dataset
~
by
:
dataset_file
command
in
let
command
=
Re__Core
.
replace_string
dataset
~
by
:
dataset_file
command
in
let
command
=
Re__Core
.
replace_string
epsilon
~
by
:
eps
command
in
let
command
=
Re__Core
.
replace_string
epsilon
~
by
:
eps
command
in
...
@@ -154,10 +154,11 @@ let answer_saver limit config task env prover dataset_csv =
...
@@ -154,10 +154,11 @@ let answer_saver limit config task env prover dataset_csv =
=
Int
.
of_string
(
Re__Core
.
Group
.
get
g
2
)
=
Int
.
of_string
(
Re__Core
.
Group
.
get
g
2
)
then
Call_provers
.
Valid
then
Call_provers
.
Valid
else
Call_provers
.
Invalid
else
Call_provers
.
Invalid
|
None
->
Call_provers
.
HighFailure
|
None
->
Call_provers
.
HighFailure
)
|
_
->
(* Any other answer than HighFailure should never happen as we do not
(* Any other answer than HighFailure should never happen as we do not
define anything in SAVer's driver. *)
)
define anything in SAVer's driver. *)
|
_
->
assert
false
assert
false
in
in
answer
answer
...
...
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