[PR] test/fate/libswscale: gate aarch64 ops-entries test to ARCH_AARCH64 (PR #23938)

Zhao Zhili via ffmpeg-devel <[email protected]> Tue, 28 Jul 2026 09:09:57 -0000
Newsgroups gmane.comp.video.ffmpeg.devel
Message-ID <178522979817.51.3805218383586144209@29965ddac10e>
PR #23938 opened by Zhao Zhili (quink)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23938
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23938.patch

fate-sws-ops-entries-aarch64 validates only the aarch64-specific code
generation path. Its input, the architecture-neutral op-list generation,
is already covered on every architecture by fate-sws-ops-list and
fate-sws-uops-macros. Running the test off-aarch64 adds no coverage for
the shipped backend while paying the full enumeration cost.

# Summary of changes

Briefly describe what this PR does and why.

<!--
If this PR requires new FATE test samples, attach them to the PR and
list their target paths below (relative to the fate-suite root).

Attached filenames must match the sample's filename:

```fate-samples
# e.g. vorbis/new-sample.ogg
```
-->



>From 850f72fb771cac9a6267de6a22fc8f5942b767e3 Mon Sep 17 00:00:00 2001
From: Zhao Zhili <[email protected]>
Date: Tue, 28 Jul 2026 16:10:56 +0800
Subject: [PATCH] test/fate/libswscale: gate aarch64 ops-entries test to
 ARCH_AARCH64

fate-sws-ops-entries-aarch64 validates only the aarch64-specific code
generation path. Its input, the architecture-neutral op-list generation,
is already covered on every architecture by fate-sws-ops-list and
fate-sws-uops-macros. Running the test off-aarch64 adds no coverage for
the shipped backend while paying the full enumeration cost.
---
 tests/fate/libswscale.mak | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/fate/libswscale.mak b/tests/fate/libswscale.mak
index 9de79d736b..ceaa63507d 100644
--- a/tests/fate/libswscale.mak
+++ b/tests/fate/libswscale.mak
@@ -62,10 +62,12 @@ fate-sws-uops-macros: CMD = run libswscale/uops_macros_gen$(EXESUF)
 
 endif
 
+ifeq ($(ARCH_AARCH64),yes)
 FATE_LIBSWSCALE-$(CONFIG_UNSTABLE) += fate-sws-ops-entries-aarch64
 fate-sws-ops-entries-aarch64: libswscale/tests/sws_ops_aarch64$(EXESUF)
 fate-sws-ops-entries-aarch64: REF = $(SRC_PATH)/libswscale/aarch64/ops_entries.c
 fate-sws-ops-entries-aarch64: CMD = run libswscale/tests/sws_ops_aarch64$(EXESUF)
+endif
 
 FATE_LIBSWSCALE += $(FATE_LIBSWSCALE-yes)
 FATE_LIBSWSCALE_SAMPLES += $(FATE_LIBSWSCALE_SAMPLES-yes)
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]