diff mbox series

[FFmpeg-devel] doc/fate: advise on --assert-level=2

Message ID 20240311101606.1439795-2-nicolas.gaullier@cji.paris
State New
Headers show
Series [FFmpeg-devel] doc/fate: advise on --assert-level=2 | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Nicolas Gaullier March 11, 2024, 10:16 a.m. UTC
Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris>
---
 doc/fate.texi | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Michael Niedermayer March 11, 2024, 8:45 p.m. UTC | #1
On Mon, Mar 11, 2024 at 11:16:06AM +0100, Nicolas Gaullier wrote:
> Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris>
> ---
>  doc/fate.texi | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/doc/fate.texi b/doc/fate.texi
> index 2fa8c34c2d..2fa7c70251 100644
> --- a/doc/fate.texi
> +++ b/doc/fate.texi
> @@ -79,6 +79,13 @@ Do not put a '~' character in the samples path to indicate a home
>  directory. Because of shell nuances, this will cause FATE to fail.
>  @end float
>  
> +Beware that some assertions are disabled by default, so mind setting
> +@option{--assert-level=<level>} at configuration time, e.g. when seeking
> +the highest possible test coverage:
> +@example
> +./configure --assert-level=2
> +@end example

This (or some other appropriate place in the docs)
should mention that doing so could have a performance impact

thx

[...]
diff mbox series

Patch

diff --git a/doc/fate.texi b/doc/fate.texi
index 2fa8c34c2d..2fa7c70251 100644
--- a/doc/fate.texi
+++ b/doc/fate.texi
@@ -79,6 +79,13 @@  Do not put a '~' character in the samples path to indicate a home
 directory. Because of shell nuances, this will cause FATE to fail.
 @end float
 
+Beware that some assertions are disabled by default, so mind setting
+@option{--assert-level=<level>} at configuration time, e.g. when seeking
+the highest possible test coverage:
+@example
+./configure --assert-level=2
+@end example
+
 To get the complete list of tests, run the command:
 @example
 make fate-list