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
626e7361
Commit
626e7361
authored
3 years ago
by
Patrick Baudin
Browse files
Options
Downloads
Patches
Plain Diff
[tests] using hack for tests/misc/global_decl_loc*.i
parent
1c5ee00d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tests/misc/global_decl_loc.i
+2
-2
2 additions, 2 deletions
tests/misc/global_decl_loc.i
tests/misc/global_decl_loc2.i
+3
-4
3 additions, 4 deletions
tests/misc/global_decl_loc2.i
tests/misc/test_config
+6
-0
6 additions, 0 deletions
tests/misc/test_config
with
11 additions
and
6 deletions
tests/misc/global_decl_loc.i
+
2
−
2
View file @
626e7361
/* run.config
/* run.config
COMMENT:
the script "global_decl_loc.ml" is also copied by the test "global_decl_loc2.i"
COMMENT:
with dune, the LIBS directive must be replaced by a MODULE directive (see also ./test_config file)
MODULE
: global_decl_loc
LIBS
: global_decl_loc
OPT: @PTEST_DIR@/global_decl_loc2.i
OPT: @PTEST_DIR@/global_decl_loc2.i
*/
*/
...
...
This diff is collapsed.
Click to expand it.
tests/misc/global_decl_loc2.i
+
3
−
4
View file @
626e7361
/* run.config*
/* run.config*
COMMENT: todo in the future: removes the EXECNOW command and modifies the MODULE directive in order to reuse "global_decl_loc"
COMMENT: with dune, the LIBS directive must be replaced by a MODULE directive (see also ./test_config file)
COMMENT: the script "global_decl_loc.ml" is also used by the test "global_decl_loc.i"
LIBS: global_decl_loc
EXECNOW: BIN global_decl_loc2.ml cp @PTEST_DIR@/global_decl_loc.ml @PTEST_RESULT@/global_decl_loc2.ml > @DEV_NULL@ 2> @DEV_NULL@
MODULE: result/global_decl_loc2
OPT: @PTEST_DIR@/global_decl_loc.i
OPT: @PTEST_DIR@/global_decl_loc.i
*/
*/
extern
int
g
;
extern
int
g
;
...
...
This diff is collapsed.
Click to expand it.
tests/misc/test_config
+
6
−
0
View file @
626e7361
PLUGIN:
PLUGIN:
# COMMENT: The next directive is a hack because the module is used
# COMMENT: by more than one test file (./global_decl_loc.i & ./global_decl_loc2.c)
# COMMENT: and it can be compiled only once due to ptests concurency.
# COMMENT: That line should be removed with dune and modifications have to be done in ./global_decl_loc.i and ./global_decl_loc2.c.
MODULE: global_decl_loc
MODULE: global_decl_loc
MODULE:
MODULE:
STDOPT:
STDOPT:
...
...
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