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
b893d0cd
Commit
b893d0cd
authored
4 years ago
by
Patrick Baudin
Browse files
Options
Downloads
Patches
Plain Diff
[Tests] using MODULE directive
parent
9abb2263
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
tests/builtins/big_local_array.i
+3
-2
3 additions, 2 deletions
tests/builtins/big_local_array.i
tests/cil/change_formals.c
+4
-4
4 additions, 4 deletions
tests/cil/change_formals.c
tests/jcdb/jcdb.c
+8
-6
8 additions, 6 deletions
tests/jcdb/jcdb.c
tests/libc/fc_libc.c
+11
-11
11 additions, 11 deletions
tests/libc/fc_libc.c
with
26 additions
and
23 deletions
tests/builtins/big_local_array.i
+
3
−
2
View file @
b893d0cd
/* run.config*
/* run.config*
EXECNOW: make -s @PTEST_DIR@/big_local_array_script.cmxs
OPT: @EVA_OPTIONS@ -print -journal-disable -eva -report
OPT: @EVA_OPTIONS@ -print -journal-disable -eva -report
OPT: @EVA_OPTIONS@ -load-module @PTEST_DIR@/big_local_array_script -then-on prj -print -report
MODULE: big_local_array_script
OPT: @EVA_OPTIONS@ -then-on prj -print -report
MODULE:
OPT: @EVA_OPTIONS@ -print -journal-disable -no-initialized-padding-locals -eva
OPT: @EVA_OPTIONS@ -print -journal-disable -no-initialized-padding-locals -eva
*/
*/
...
...
This diff is collapsed.
Click to expand it.
tests/cil/change_formals.c
+
4
−
4
View file @
b893d0cd
/* run.config
/* run.config
EXECNOW: make -s tests/cil/
Change_formals
.cmxs
MODULE:
Change_formals
OPT:
-load-module tests/cil/Change_formals.cmxs
-cpp-extra-args="-DNO_PROTO" -then-on test -print
OPT: -cpp-extra-args="-DNO_PROTO" -then-on test -print
OPT:
-load-module tests/cil/Change_formals.cmxs
-cpp-extra-args="-DNO_IMPLEM" -then-on test -print
OPT: -cpp-extra-args="-DNO_IMPLEM" -then-on test -print
OPT:
-load-module tests/cil/Change_formals.cmxs
-then-on test -print
OPT: -then-on test -print
*/
*/
#ifndef NO_PROTO
#ifndef NO_PROTO
...
...
This diff is collapsed.
Click to expand it.
tests/jcdb/jcdb.c
+
8
−
6
View file @
b893d0cd
/* run.config
/* run.config
EXECNOW: make -s @PTEST_DIR@/@PTEST_NAME@.cmxs
OPT: -json-compilation-database @PTEST_DIR@ -print
OPT: -json-compilation-database @PTEST_DIR@ -print
OPT: @PTEST_DIR@/jcdb2.c -json-compilation-database @PTEST_DIR@/with_arguments.json -print
OPT: @PTEST_DIR@/jcdb2.c -json-compilation-database @PTEST_DIR@/with_arguments.json -print
MODULE: @PTEST_NAME@
OPT: -json-compilation-database @PTEST_DIR@/with_arguments.json -no-autoload-plugins -load-module @PTEST_DIR@/@PTEST_NAME@.cmxs
OPT: -json-compilation-database @PTEST_DIR@/with_arguments.json -no-autoload-plugins
EXECNOW: LOG list_files.res LOG list_files.err share/analysis-scripts/list_files.py @PTEST_DIR@/compile_commands_working.json > @PTEST_DIR@/result/list_files.res 2> @PTEST_DIR@/result/list_files.err
MODULE:
EXECNOW: LOG logic-pp-include.res LOG logic-pp-include.err @frama-c@ -json-compilation-database @PTEST_DIR@/logic-pp-include @PTEST_DIR@/logic-pp-include/no-stdio.c -print -no-autoload-plugins > @PTEST_DIR@/result/logic-pp-include.res 2> @PTEST_DIR@/result/logic-pp-include.err
EXECNOW: LOG list_files.res LOG list_files.err share/analysis-scripts/list_files.py @PTEST_DIR@/compile_commands_working.json > @PTEST_DIR@/result/list_files.res 2> @PTEST_DIR@/result/list_files.err
EXECNOW: LOG logic-pp-include.res LOG logic-pp-include.err @frama-c@ -json-compilation-database @PTEST_DIR@/logic-pp-include @PTEST_DIR@/logic-pp-include/no-stdio.c -print -no-autoload-plugins > @PTEST_DIR@/result/logic-pp-include.res 2> @PTEST_DIR@/result/logic-pp-include.err
*/
*/
#include
<stdio.h>
#include
<stdio.h>
#ifdef TOUNDEF
#ifdef TOUNDEF
...
...
This diff is collapsed.
Click to expand it.
tests/libc/fc_libc.c
+
11
−
11
View file @
b893d0cd
/* run.config*
/* run.config*
EXECNOW: make -s @PTEST_DIR@/check_libc_naming_conventions.cmxs
MODULE: check_libc_naming_conventions, check_const
EXECNOW: make -s @PTEST_DIR@/check_const.cmxs
OPT: -print -cpp-extra-args='-nostdinc -Ishare/libc' -metrics -metrics-libc -load-module metrics -eva @EVA_CONFIG@ -then -lib-entry -no-print -metrics-no-libc
EXECNOW: make -s @PTEST_DIR@/check_parsing_individual_headers.cmxs
MODULE:
EXECNOW: make -s @PTEST_DIR@/check_libc_anonymous_tags.cmxs
EXECNOW: make -s @PTEST_DIR@/check_compliance.cmxs
OPT: -load-module @PTEST_DIR@/check_libc_naming_conventions -print -cpp-extra-args='-nostdinc -Ishare/libc' -metrics -metrics-libc -load-module @PTEST_DIR@/check_const -load-module metrics -eva @EVA_CONFIG@ -then -lib-entry -no-print -metrics-no-libc
OPT: -print -print-libc -machdep x86_32
OPT: -print -print-libc -machdep x86_32
OPT: -load-module @PTEST_DIR@/check_parsing_individual_headers
MODULE: check_parsing_individual_headers
OPT: -load-module @PTEST_DIR@/check_libc_anonymous_tags
OPT:
OPT: -load-module @PTEST_DIR@/check_compliance -kernel-msg-key printer:attrs
MODULE: check_libc_anonymous_tags
CMD: ./tests/libc/check_full_libc.sh
OPT:
MODULE: check_compliance
OPT: -kernel-msg-key printer:attrs
MODULE:
CMD: ./tests/libc/check_full_libc.sh
OPT:
OPT:
**/
**/
#define __FC_REG_TEST
#define __FC_REG_TEST
// Some functions such as usleep() are only defined for older of POSIX headers,
// Some functions such as usleep() are only defined for older of POSIX headers,
// while others may be defined only by newer ones, so it is not possible to
// while others may be defined only by newer ones, so it is not possible to
// test all of them. We nevertheless define some headers to test additional
// test all of them. We nevertheless define some headers to test additional
...
...
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