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
297add7b
Commit
297add7b
authored
2 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
[devman] rely on ptests -help for macros documentation
parent
d9f433f9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/developer/advance.tex
+3
-28
3 additions, 28 deletions
doc/developer/advance.tex
with
3 additions
and
28 deletions
doc/developer/advance.tex
+
3
−
28
View file @
297add7b
...
...
@@ -817,8 +817,9 @@ itself, it needs to be doubled, {\it i.e.} \texttt{@@} will be translated as
\end{important}
\subsection
{
Pre-defined macros for tests commands
}
\label
{
sec:ptests-macros
}
Table~
\ref
{
tab:ptests-macros
}
gives the definition of the predefined macros that
can be used in
\ptests
' directives.
Table~
\ref
{
tab:ptests-macros
}
gives the definition of the most important
predefined macros that can be used in
\ptests
' directives.
Refer to
\texttt
{
ptests --help
}
to have the full list.
\begin{longtable}
{
|p
{
4.5cm
}
|p
{
10cm
}
|
}
\hline
Name
&
Expansion
\\
...
...
@@ -846,34 +847,8 @@ one for regular tests (if more than one \verb|OPT|).\\
\hline
\verb
|
PTEST_ORACLE
|
&
basename of the current oracle file (macro only usable in FILTER directives)
\\
\hline
\verb
|
PTEST_MODULE
|
&
current list of modules defined by the
\verb
|
MODULE
|
directive
\\
\hline
\verb
|
PTEST_LIBS
|
&
current list of modules defined by the
\verb
|
LIBS
|
directive
\\
\hline
\verb
|
PTEST_PLUGIN
|
&
current list of plugins defined by the
\verb
|
PLUGIN
|
directive
\\
\hline
\verb
|
PTEST_SCRIPT
|
&
current list of plugins defined by the
\verb
|
SCRIPT
|
directive
\\
\hline
\verb
|
PTEST_DEFAULT_OPTIONS
|
&
the default option list:
\verb
|
-check
|
\verb
|
-no-autoload-plugins
|
\\
\hline
\verb
|
PTEST_LOAD_MODULE
|
&
the
\verb
|
-load-module
|
option related to the
\verb
|
MODULE
|
directive
\\
\hline
\verb
|
PTEST_LOAD_LIBS
|
&
the
\verb
|
-load-module
|
option related to the
\verb
|
LIBS
|
directive
\\
\hline
\verb
|
PTEST_LOAD_PLUGIN
|
&
the
\verb
|
-load-module
|
option related to the
\verb
|
PLUGIN
|
directive
\\
\hline
\verb
|
PTEST_LOAD_SCRIPT
|
&
the
\verb
|
-load-script
|
option related to the
\verb
|
SCRIPT
|
directive
\\
\hline
\verb
|
PTEST_LOAD_OPTIONS
|
&
shorthand alias to
\spverb
|@PTEST
_
LOAD
_
PLUGIN@ @PTEST
_
LOAD
_
LIBS@ @PTEST
_
LOAD
_
MODULE@ @PTEST
_
LOAD
_
SCRIPT@|
\\
\hline
\verb
|
PTEST_OPTIONS
|
&
the current list of options related to
\verb
|
OPT
|
and
\verb
|
STDOPT
|
directives (for
\verb
|
CMD
|
directives)
\\
\hline
\verb
|
frama-c
|
&
shortcut defined as follows:
\spverb
|@frama-c-exe@ @PTEST
_
DEFAULT
_
OPTIONS@ @PTEST
_
LOAD
_
OPTIONS@|
\\
\hline
\verb
|
frama-c-cmd
|
&
shortcut defined as follows:
\spverb
|@frama-c-exe@ @PTEST
_
DEFAULT
_
OPTIONS@|
\\
\hline
\verb
|
frama-c-exe
|
&
set to the value of the
\verb
|
TOPLEVEL_PATH
|
variable from
\verb
|
./tests/ptests_config
|
file
\\
\hline
\caption
{
Predefined macros for ptests
}
\label
{
tab:ptests-macros
}
\end{longtable}
...
...
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