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
44fec1cc
Commit
44fec1cc
authored
3 years ago
by
Andre Maroneze
Browse files
Options
Downloads
Patches
Plain Diff
[ptests] avoid relative paths for ptests in Makefile.generating
parent
b0e84174
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile.generating
+6
-6
6 additions, 6 deletions
Makefile.generating
src/kernel_services/cmdline_parameters/cmdline.ml
+3
-3
3 additions, 3 deletions
src/kernel_services/cmdline_parameters/cmdline.ml
with
9 additions
and
9 deletions
Makefile.generating
+
6
−
6
View file @
44fec1cc
...
...
@@ -31,13 +31,13 @@ tests/ptests_config: Makefile.generating share/Makefile.config
$(
RM
)
$@
$(
TOUCH
)
$@
$(
ECHO
)
"DEFAULT_SUITES=
$(
PLUGIN_TESTS_LIST
)
"
>>
$@
$(
ECHO
)
"TOPLEVEL_PATH=bin/toplevel.
$(
OCAMLBEST
)$(
EXE
)
"
>>
$@
$(
ECHO
)
"TOPLEVEL_PATH=
$(
FRAMAC_ROOT_SRCDIR
)
/
bin/toplevel.
$(
OCAMLBEST
)$(
EXE
)
"
>>
$@
$(
ECHO
)
"OCAMLRUNPARAM="
>>
$@
$(
ECHO
)
"FRAMAC_SESSION=
.
"
>>
$@
$(
ECHO
)
"FRAMAC_SHARE=
.
/share"
>>
$@
$(
ECHO
)
"FRAMAC_PLUGIN=
.
/lib/plugins"
>>
$@
$(
ECHO
)
"FRAMAC_PLUGIN_GUI=
.
/lib/plugins/gui"
>>
$@
$(
ECHO
)
"FRAMAC_LIB=
.
/lib/fc"
>>
$@
$(
ECHO
)
"FRAMAC_SESSION=
$(
FRAMAC_ROOT_SRCDIR
)
"
>>
$@
$(
ECHO
)
"FRAMAC_SHARE=
$(
FRAMAC_ROOT_SRCDIR
)
/share"
>>
$@
$(
ECHO
)
"FRAMAC_PLUGIN=
$(
FRAMAC_ROOT_SRCDIR
)
/lib/plugins"
>>
$@
$(
ECHO
)
"FRAMAC_PLUGIN_GUI=
$(
FRAMAC_ROOT_SRCDIR
)
/lib/plugins/gui"
>>
$@
$(
ECHO
)
"FRAMAC_LIB=
$(
FRAMAC_ROOT_SRCDIR
)
/lib/fc"
>>
$@
$(
CHMOD_RO
)
$@
ALL_LIBRARY_NAMES
=
$(
shell ocamlfind query
-r
-p-format
$(
LIBRARY_NAMES
)
$(
LIBRARY_NAMES_GUI
))
...
...
This diff is collapsed.
Click to expand it.
src/kernel_services/cmdline_parameters/cmdline.ml
+
3
−
3
View file @
44fec1cc
...
...
@@ -268,10 +268,10 @@ exception Cannot_parse of string * string
let
raise_error
name
because
=
raise
(
Cannot_parse
(
name
,
because
))
let
error
name
msg
=
let
bin_name
=
Sys
.
argv
.
(
0
)
in
let
bin_name
=
Filepath
.
Normalized
.
of_string
Sys
.
argv
.
(
0
)
in
Kernel_log
.
abort
"option `%s' %s.@
\n
use `%
s
-help' for more information."
name
msg
bin_name
"option `%s' %s.@
\n
use `%
a
-help' for more information."
name
msg
Filepath
.
Normalized
.
pretty
bin_name
let
warning
name
msg
=
Kernel_log
.
warning
...
...
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