This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 67240ca40f fairy: clarify FATE test review criteria
67240ca40f is described below
commit 67240ca40f83da4a0160cce250bebb6adae4955c
Author: Zhao Zhili <[email protected]>
AuthorDate: Mon Nov 23 17:59:34 2026 +0800
Commit: Zhao Zhili <[email protected]>
CommitDate: Sat Nov 28 09:19:49 2026 +0000
fairy: clarify FATE test review criteria
FATE supports several ways to detect failures. A blanket requirement
for a reference file can block valid tests.
Each new test executable adds a build target and code to maintain.
Existing tools and test programs can often provide the needed coverage.
---
fairy/project_facts.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fairy/project_facts.md b/fairy/project_facts.md
index b710d25975..37fa17b2db 100644
--- a/fairy/project_facts.md
+++ b/fairy/project_facts.md
@@ -12,7 +12,8 @@ Each new codec, parser, filter and format should have a fate
test, when possible
Multimedia files used in fate tests are stored in fate-suite.ffmpeg.org.
To upload a new file to the fate samples, the pull request author has to send
a mail to samples-request at ffmpeg dot org. (you can tell this email address
and procedure when it seems that this is not understood)
FATE samples that are 10kb (100kb for video) or less do not need to be
trimmed. samples that are over 1mb should be trimmed if possible (sometimes its
not possible and that's ok)
-API and FATE tests should not hard-code expected values in source code.
Expected output belongs in tests/ref/*, with the test printing actual results
and FATE comparing them against the reference files. It is ok to also print the
expected result as part of printing the current value when the expected is very
stable. Tests that compare to hardcoded values and fail directly should not be
approved, even when hidden behind helper macros such as CHECK(). Exception is
CMP = grep
+Judge a FATE test by what it verifies and how it detects failures. Use
comparable tests in the FFmpeg tree as precedents for test format.
+Prefer using existing tools or extending an existing test program when either
is suitable. Reject a new standalone test executable unless you can identify a
concrete reason to add one.
side data attached by ffmpeg code complies with the documented constraints of
its type. Producers must ensure this; consumers may assume it.
AVCodecContext.get_buffer2() buffers need to respect
avcodec_align_dimensions2(). Decoders and Encoders may assume this additional
padding has been allocated.
Big-endian AArch64 is not supported.
--
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]