From: Gyan Doshi via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
To: ffmpeg-devel@ffmpeg.org
Cc: Gyan Doshi <code@ffmpeg.org>
Subject: [FFmpeg-devel] [PATCH] doc/fate: improve section on running FATE (PR #20907)
Date: Thu, 13 Nov 2025 07:37:46 -0000
Message-ID: <176301946670.25.15887315352711234590@2cb04c0e5124> (raw)
PR #20907 opened by Gyan Doshi (GyanD)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20907
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20907.patch
Supersedes #20905
>From 0c47fd58ab7a7eff4f19c6d138efa420b478e682 Mon Sep 17 00:00:00 2001
From: Gyan Doshi <ffmpeg@gyani.pro>
Date: Thu, 13 Nov 2025 13:05:10 +0530
Subject: [PATCH] doc/fate: improve section on running FATE
---
doc/fate.texi | 47 +++++++++++++++++++++++++++++------------------
1 file changed, 29 insertions(+), 18 deletions(-)
diff --git a/doc/fate.texi b/doc/fate.texi
index 7a2e0edfcc..3783de7971 100644
--- a/doc/fate.texi
+++ b/doc/fate.texi
@@ -42,41 +42,51 @@ targets and variables.
@chapter Using FATE from your FFmpeg source directory
-If you want to run FATE on your machine you need to have the samples
-in place. You can get the samples via the build target fate-rsync.
-Use this command from the top-level source directory:
+If you want to run FATE on your machine, FFmpeg needs to be configured first.
+You may specify the location of samples during configuration by adding the
+argument @code{--samples=/path/to/fate-suite}.
@example
-make fate-rsync SAMPLES=fate-suite/
-make fate SAMPLES=fate-suite/
+./configure --enable-somelib --samples=/path/to/fate-suite
@end example
-The above commands set the samples location by passing a makefile
-variable via command line. It is also possible to set the samples
-location at source configuration time by invoking configure with
-@option{--samples=<path to the samples directory>}. Afterwards you can
-invoke the makefile targets without setting the @var{SAMPLES} makefile
-variable. This is illustrated by the following commands:
+After successful configuration, you need to add and/or update the samples in place:
@example
-./configure --samples=fate-suite/
make fate-rsync
+@end example
+
+Now you are ready to run FATE:
+
+@example
make fate
@end example
-Yet another way to tell FATE about the location of the sample
-directory is by making sure the environment variable FATE_SAMPLES
-contains the path to your samples directory. This can be achieved
-by e.g. putting that variable in your shell profile or by setting
-it in your interactive session.
+See @ref{makefile variables} for a list of arguments that can be added.
+
+If you did not set the samples path during configuration, or if you wish to
+override it just before starting FATE, you can do so in one of two ways.
+
+Either by setting a make variable:
@example
-FATE_SAMPLES=fate-suite/ make fate
+make fate-rsync SAMPLES=/path/to/fate-suite
+make fate SAMPLES=/path/to/fate-suite
@end example
+or by prepending an environment variable:
+
+@example
+FATE_SAMPLES=/path/to/fate-suite make fate-rsync
+FATE_SAMPLES=/path/to/fate-suite make fate
+@end example
+
+This variable can also be set in your shell profile.
+
@float NOTE
Do not put a '~' character in the samples path to indicate a home
directory. Because of shell nuances, this will cause FATE to fail.
+Also, on Windows the path has to be relative to the FFmpeg source directory.
@end float
Beware that some assertions are disabled by default, so mind setting
@@ -220,6 +230,7 @@ Run the FATE test suite (requires the fate-suite dataset).
@end table
@section Makefile variables
+@anchor {makefile variables}
@table @env
@item V
--
2.49.1
_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org
reply other threads:[~2025-11-13 7:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=176301946670.25.15887315352711234590@2cb04c0e5124 \
--to=ffmpeg-devel@ffmpeg.org \
--cc=code@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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