Skip to content
Snippets Groups Projects
Commit 3518e275 authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

[devman] document ptests update

parent bf1f1510
No related branches found
No related tags found
No related merge requests found
...@@ -1062,8 +1062,8 @@ or ...@@ -1062,8 +1062,8 @@ or
line. Once such a directive has been encountered, each occurrence of line. Once such a directive has been encountered, each occurrence of
\texttt{@macro-name@} in a \texttt{CMD}, \texttt{LOG}, \texttt{OPT}, \texttt{@macro-name@} in a \texttt{CMD}, \texttt{LOG}, \texttt{OPT},
\texttt{STDOPT} or \texttt{EXECNOW} directive at this configuration level \texttt{STDOPT} or \texttt{EXECNOW} directive at this configuration level
or in any level below it will be replaced by \texttt{content}. Existing or in any level below it will be replaced by \texttt{content}. Existing
pre-defined macros are listed in section~\ref{sec:ptests-macros}. pre-defined macros are listed in section~\ref{sec:ptests-macros}.
\item The \texttt{FILEREG}\sscodeidxdef{Test}{Directive}{FILEREG} \item The \texttt{FILEREG}\sscodeidxdef{Test}{Directive}{FILEREG}
directive contains a regular expression indicating which files in directive contains a regular expression indicating which files in
the directory containing the current test suite are actually part of the directory containing the current test suite are actually part of
...@@ -1072,6 +1072,14 @@ or ...@@ -1072,6 +1072,14 @@ or
configuration file. configuration file.
\end{itemize} \end{itemize}
\begin{important}
\paragraph{\texttt{@} in the text of a directive}
As mentioned above, \texttt{@} is recognized by \ptests as the beginning of
a macro. If you need to have a literal \texttt{@} in the text of the directive
itself, it needs to be doubled, {\it i.e.} \texttt{@@} will be translated as
\texttt{@}.
\end{important}
\begin{important} \begin{important}
\textbf{Summary: ordering of test executions} \textbf{Summary: ordering of test executions}
......
...@@ -7,6 +7,7 @@ This chapter summarizes the major changes in this documentation between each ...@@ -7,6 +7,7 @@ This chapter summarizes the major changes in this documentation between each
\section*{Frama-C+dev} \section*{Frama-C+dev}
\begin{itemize} \begin{itemize}
\item \textbf{Testing}: Document of usage \texttt{@@} in a directive
\item \textbf{Logging Services}: Document \texttt{error} and \texttt{failure} behaviors. \item \textbf{Logging Services}: Document \texttt{error} and \texttt{failure} behaviors.
\item \textbf{ACSL Extensions}: New extension categories, for global and plain code annotations \item \textbf{ACSL Extensions}: New extension categories, for global and plain code annotations
\end{itemize} \end{itemize}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment