[FFmpeg-cvslog] checkasm: Add a "run-checkasm" make target

Martin Storsjö git at videolan.org
Wed Feb 21 23:27:40 EET 2024


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Wed Feb 14 15:00:35 2024 +0200| [8a9b02389d2d23a2667031d636a566d6dbba7000] | committer: Martin Storsjö

checkasm: Add a "run-checkasm" make target

Contrary to the existing "fate-checkasm", this always prints the
tool output, and runs all tests at once instead of splitting it up
per target group. This is more useful when the user expects to
look directly at the tool output, instead of being part of a full
fate run.

(On failure with the regular "make fate-checkasm" targets, none of
the tool output is printed, but stored in files. If run with reporting
set up to the FATE website, the individual failures are uploaded there,
but if it is run in some sort of other CI setup, the intermediate files
might not be available afterwards for inspection.)

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8a9b02389d2d23a2667031d636a566d6dbba7000
---

 tests/checkasm/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/checkasm/Makefile b/tests/checkasm/Makefile
index b58a2e0238..2673e1d098 100644
--- a/tests/checkasm/Makefile
+++ b/tests/checkasm/Makefile
@@ -92,6 +92,10 @@ CHECKASM := tests/checkasm/checkasm$(EXESUF)
 $(CHECKASM): $(CHECKASMOBJS) $(FF_STATIC_DEP_LIBS)
 	$(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $(CHECKASMOBJS) $(FF_STATIC_DEP_LIBS) $(EXTRALIBS-avcodec) $(EXTRALIBS-avfilter) $(EXTRALIBS-avformat) $(EXTRALIBS-avutil) $(EXTRALIBS-swresample) $(EXTRALIBS)
 
+run-checkasm: $(CHECKASM)
+run-checkasm:
+	$(Q)$(TARGET_EXEC) $(TARGET_PATH)/$(CHECKASM)
+
 checkasm: $(CHECKASM)
 
 testclean:: checkasmclean



More information about the ffmpeg-cvslog mailing list