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
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
Charles Southerland
frama-c
Commits
17239f30
Commit
17239f30
authored
4 years ago
by
Virgile Prevosto
Committed by
Andre Maroneze
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[ptests] add NOFRAMAC directive in ptests
parent
cf85d0fe
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
ptests/ptests.ml
+5
-1
5 additions, 1 deletion
ptests/ptests.ml
with
5 additions
and
1 deletion
ptests/ptests.ml
+
5
−
1
View file @
17239f30
...
...
@@ -600,6 +600,7 @@ type config =
(** toplevel full path, options to launch the toplevel on, and list
of output files to monitor beyond stdout and stderr. *)
dc_dont_run
:
bool
;
dc_framac
:
bool
;
dc_default_log
:
string
list
;
dc_timeout
:
string
}
...
...
@@ -619,6 +620,7 @@ let default_config () =
dc_default_toplevel
=
!
toplevel_path
;
dc_toplevels
=
[
!
toplevel_path
,
default_options
,
[]
,
Macros
.
empty
,
""
];
dc_dont_run
=
false
;
dc_framac
=
true
;
dc_default_log
=
[]
;
dc_timeout
=
""
;
}
...
...
@@ -802,6 +804,8 @@ let config_options =
{
current
with
dc_default_log
=
s
::
current
.
dc_default_log
});
"TIMEOUT"
,
(
fun
_
s
current
->
{
current
with
dc_timeout
=
s
});
"NOFRAMAC"
,
(
fun
_
_
current
->
{
current
with
dc_toplevels
=
[]
;
dc_framac
=
false
;
});
]
let
scan_options
dir
scan_buffer
default
=
...
...
@@ -835,7 +839,7 @@ let scan_options dir scan_buffer default =
with
End_of_file
->
(
match
!
r
.
dc_toplevels
with
|
[]
->
{
!
r
with
dc_toplevels
=
default
.
dc_toplevels
}
|
[]
when
!
r
.
dc_framac
->
{
!
r
with
dc_toplevels
=
default
.
dc_toplevels
}
|
l
->
{
!
r
with
dc_toplevels
=
List
.
rev
l
})
let
split_config
=
Str
.
regexp
",[ ]*"
...
...
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