* [FFmpeg-devel] [PATCH] doc/fate: advise on --assert-level=2
@ 2024-03-12 12:09 Nicolas Gaullier
2024-03-18 15:05 ` Nicolas Gaullier
2024-03-19 2:36 ` Michael Niedermayer
0 siblings, 2 replies; 5+ messages in thread
From: Nicolas Gaullier @ 2024-03-12 12:09 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Nicolas Gaullier
Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris>
---
doc/fate.texi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/doc/fate.texi b/doc/fate.texi
index 2fa8c34c2d..17644ce65a 100644
--- a/doc/fate.texi
+++ b/doc/fate.texi
@@ -79,6 +79,14 @@ 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
+Note that raising the assert level could have a performance impact.
+
To get the complete list of tests, run the command:
@example
make fate-list
--
2.30.2
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [FFmpeg-devel] [PATCH] doc/fate: advise on --assert-level=2
2024-03-12 12:09 [FFmpeg-devel] [PATCH] doc/fate: advise on --assert-level=2 Nicolas Gaullier
@ 2024-03-18 15:05 ` Nicolas Gaullier
2024-03-19 2:36 ` Michael Niedermayer
1 sibling, 0 replies; 5+ messages in thread
From: Nicolas Gaullier @ 2024-03-18 15:05 UTC (permalink / raw)
To: ffmpeg-devel
>De : Nicolas Gaullier <nicolas.gaullier@cji.paris>
>Envoyé : mardi 12 mars 2024 13:09
>Objet : [PATCH] doc/fate: advise on --assert-level=2
>
>diff --git a/doc/fate.texi b/doc/fate.texi index 2fa8c34c2d..17644ce65a 100644
>--- a/doc/fate.texi
>+++ b/doc/fate.texi
>@@ -79,6 +79,14 @@ 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
>+Note that raising the assert level could have a performance impact.
Ping ? (I forgot to raise the version to v2, but it actually includes a notice on performance impact following Michael's comment)
Feel free to amend/reauthor if my english is not good enough.
Nicolas
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [FFmpeg-devel] [PATCH] doc/fate: advise on --assert-level=2
2024-03-12 12:09 [FFmpeg-devel] [PATCH] doc/fate: advise on --assert-level=2 Nicolas Gaullier
2024-03-18 15:05 ` Nicolas Gaullier
@ 2024-03-19 2:36 ` Michael Niedermayer
1 sibling, 0 replies; 5+ messages in thread
From: Michael Niedermayer @ 2024-03-19 2:36 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1.1: Type: text/plain, Size: 502 bytes --]
On Tue, Mar 12, 2024 at 01:09:20PM +0100, Nicolas Gaullier wrote:
> Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris>
> ---
> doc/fate.texi | 8 ++++++++
> 1 file changed, 8 insertions(+)
will apply
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 5+ messages in thread
* [FFmpeg-devel] [PATCH 0/1] doc/fate: advise on --assert-level=2
@ 2024-03-11 10:16 Nicolas Gaullier
2024-03-11 10:16 ` [FFmpeg-devel] [PATCH] " Nicolas Gaullier
0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Gaullier @ 2024-03-11 10:16 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Nicolas Gaullier
In my personnal experience, when running fate, --assert-level=2 has a very limited performance impact,
so I think it can be recommended without further attention.
Nicolas Gaullier (1):
doc/fate: advise on --assert-level=2
doc/fate.texi | 7 +++++++
1 file changed, 7 insertions(+)
--
2.30.2
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 5+ messages in thread
* [FFmpeg-devel] [PATCH] doc/fate: advise on --assert-level=2
2024-03-11 10:16 [FFmpeg-devel] [PATCH 0/1] " Nicolas Gaullier
@ 2024-03-11 10:16 ` Nicolas Gaullier
2024-03-11 20:45 ` Michael Niedermayer
0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Gaullier @ 2024-03-11 10:16 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Nicolas Gaullier
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
+
To get the complete list of tests, run the command:
@example
make fate-list
--
2.30.2
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [FFmpeg-devel] [PATCH] doc/fate: advise on --assert-level=2
2024-03-11 10:16 ` [FFmpeg-devel] [PATCH] " Nicolas Gaullier
@ 2024-03-11 20:45 ` Michael Niedermayer
0 siblings, 0 replies; 5+ messages in thread
From: Michael Niedermayer @ 2024-03-11 20:45 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1.1: Type: text/plain, Size: 1131 bytes --]
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
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-03-19 2:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-12 12:09 [FFmpeg-devel] [PATCH] doc/fate: advise on --assert-level=2 Nicolas Gaullier
2024-03-18 15:05 ` Nicolas Gaullier
2024-03-19 2:36 ` Michael Niedermayer
-- strict thread matches above, loose matches on Subject: below --
2024-03-11 10:16 [FFmpeg-devel] [PATCH 0/1] " Nicolas Gaullier
2024-03-11 10:16 ` [FFmpeg-devel] [PATCH] " Nicolas Gaullier
2024-03-11 20:45 ` Michael Niedermayer
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git