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 a1d860a00d avformat/tests/movenc: Convert to API test tool
a1d860a00d is described below
commit a1d860a00de25191666b16cdff0517b2bccb6f6f
Author: Andreas Rheinhardt <[email protected]>
AuthorDate: Mon Aug 17 21:06:01 2026 +0200
Commit: Andreas Rheinhardt <[email protected]>
CommitDate: Mon Aug 17 21:06:01 2026 +0200
avformat/tests/movenc: Convert to API test tool
This is possible because it only uses the public API;
and beneficial when using shared builds (as not all
the internals of lavf are linked statically in the binary).
Signed-off-by: Andreas Rheinhardt <[email protected]>
---
libavformat/Makefile | 1 -
libavformat/tests/.gitignore | 1 -
tests/api/Makefile | 1 +
libavformat/tests/movenc.c => tests/api/api-movenc-test.c | 0
tests/fate/api.mak | 4 ++++
tests/fate/libavformat.mak | 4 ----
tests/ref/fate/{movenc => api-movenc} | 0
7 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/libavformat/Makefile b/libavformat/Makefile
index 45084227a6..466f5d1894 100644
--- a/libavformat/Makefile
+++ b/libavformat/Makefile
@@ -790,7 +790,6 @@ TESTPROGS = id3v2
\
FIFO-MUXER-TESTPROGS-$(CONFIG_NETWORK) += fifo_muxer
TESTPROGS-$(CONFIG_FIFO_MUXER) += $(FIFO-MUXER-TESTPROGS-yes)
TESTPROGS-$(CONFIG_FFRTMPCRYPT_PROTOCOL) += rtmpdh
-TESTPROGS-$(CONFIG_MOV_MUXER) += movenc
TESTPROGS-$(CONFIG_NETWORK) += noproxy
TESTPROGS-$(CONFIG_SRTP) += srtp
TESTPROGS-$(CONFIG_IMF_DEMUXER) += imf
diff --git a/libavformat/tests/.gitignore b/libavformat/tests/.gitignore
index 951ccf0f37..34a62eca97 100644
--- a/libavformat/tests/.gitignore
+++ b/libavformat/tests/.gitignore
@@ -2,7 +2,6 @@
/fifo_muxer
/imf
/mkdir
-/movenc
/noproxy
/rtmpdh
/seek
diff --git a/tests/api/Makefile b/tests/api/Makefile
index 987db1b785..92b3e11e95 100644
--- a/tests/api/Makefile
+++ b/tests/api/Makefile
@@ -1,6 +1,7 @@
APITESTPROGS-$(call ENCDEC, FLAC, FLAC) += api-flac
APITESTPROGS-$(call DEMDEC, H264, H264) += api-h264
APITESTPROGS-$(call DEMDEC, H264, H264) += api-h264-slice
+APITESTPROGS-$(CONFIG_MOV_MUXER) += api-movenc
APITESTPROGS-yes += api-seek api-dump-stream-meta
APITESTPROGS-$(call DEMDEC, H263, H263) += api-band
APITESTPROGS-$(HAVE_THREADS) += api-threadmessage
diff --git a/libavformat/tests/movenc.c b/tests/api/api-movenc-test.c
similarity index 100%
rename from libavformat/tests/movenc.c
rename to tests/api/api-movenc-test.c
diff --git a/tests/fate/api.mak b/tests/fate/api.mak
index ba9789d9f7..4c0f51c4fc 100644
--- a/tests/fate/api.mak
+++ b/tests/fate/api.mak
@@ -29,6 +29,10 @@ fate-lavf-flv: CMP =
fate-api-seek: CMD = run $(APITESTSDIR)/api-seek-test$(EXESUF)
$(TARGET_PATH)/tests/data/lavf/lavf.flv 0 720
fate-api-seek: CMP = null
+FATE_API_LIBAVFORMAT-$(call ALLYES, MP4_MUXER ISMV_MUXER) += fate-api-movenc
+fate-api-movenc: $(APITESTSDIR)/api-movenc-test$(EXESUF)
+fate-api-movenc: CMD = run $(APITESTSDIR)/api-movenc-test$(EXESUF)
+
FATE_API-$(HAVE_THREADS) += fate-api-threadmessage
fate-api-threadmessage: $(APITESTSDIR)/api-threadmessage-test$(EXESUF)
fate-api-threadmessage: CMD = run
$(APITESTSDIR)/api-threadmessage-test$(EXESUF) 3 10 30 50 2 20 40
diff --git a/tests/fate/libavformat.mak b/tests/fate/libavformat.mak
index 7bd20cf9c8..09649fed11 100644
--- a/tests/fate/libavformat.mak
+++ b/tests/fate/libavformat.mak
@@ -28,10 +28,6 @@ FATE_LIBAVFORMAT-yes += fate-url
fate-url: libavformat/tests/url$(EXESUF)
fate-url: CMD = run libavformat/tests/url$(EXESUF)
-FATE_LIBAVFORMAT-$(call ALLYES, MP4_MUXER ISMV_MUXER) += fate-movenc
-fate-movenc: libavformat/tests/movenc$(EXESUF)
-fate-movenc: CMD = run libavformat/tests/movenc$(EXESUF)
-
FATE_LIBAVFORMAT-$(CONFIG_IMF_DEMUXER) += fate-imf
fate-imf: libavformat/tests/imf$(EXESUF)
fate-imf: CMD = run libavformat/tests/imf$(EXESUF)
diff --git a/tests/ref/fate/movenc b/tests/ref/fate/api-movenc
similarity index 100%
rename from tests/ref/fate/movenc
rename to tests/ref/fate/api-movenc
--
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]