[FFmpeg-devel] [PATCH 06/27] fate/demux: Move caf test to its own file

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Thu Sep 23 18:28:41 EEST 2021


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 tests/Makefile                    | 1 +
 tests/fate/caf.mak                | 5 +++++
 tests/fate/demux.mak              | 3 ---
 tests/ref/fate/{caf => caf-demux} | 0
 4 files changed, 6 insertions(+), 3 deletions(-)
 create mode 100644 tests/fate/caf.mak
 rename tests/ref/fate/{caf => caf-demux} (100%)

diff --git a/tests/Makefile b/tests/Makefile
index e42e66d81b..d5595908b8 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -121,6 +121,7 @@ include $(SRC_PATH)/tests/fate/atrac.mak
 include $(SRC_PATH)/tests/fate/audio.mak
 include $(SRC_PATH)/tests/fate/bmp.mak
 include $(SRC_PATH)/tests/fate/build.mak
+include $(SRC_PATH)/tests/fate/caf.mak
 include $(SRC_PATH)/tests/fate/canopus.mak
 include $(SRC_PATH)/tests/fate/cbs.mak
 include $(SRC_PATH)/tests/fate/cdxl.mak
diff --git a/tests/fate/caf.mak b/tests/fate/caf.mak
new file mode 100644
index 0000000000..e921fcc297
--- /dev/null
+++ b/tests/fate/caf.mak
@@ -0,0 +1,5 @@
+FATE_CAF_FFMPEG-$(call ALLYES, CAF_DEMUXER CRC_MUXER) += fate-caf-demux
+fate-caf-demux: CMD = crc -i $(TARGET_SAMPLES)/caf/caf-pcm16.caf -c copy
+
+FATE_SAMPLES_FFMPEG         += $(FATE_CAF_FFMPEG-yes)
+fate-caf: $(FATE_CAF_FFMPEG-yes)
diff --git a/tests/fate/demux.mak b/tests/fate/demux.mak
index 6ddbbcbd4d..20aa90427b 100644
--- a/tests/fate/demux.mak
+++ b/tests/fate/demux.mak
@@ -29,9 +29,6 @@ fate-bcstm: CMD = crc -i $(TARGET_SAMPLES)/bfstm/loz-mm-mikau.bcstm -c:a copy
 FATE_SAMPLES_DEMUX-$(CONFIG_BRSTM_DEMUXER) += fate-brstm
 fate-brstm: CMD = crc -i $(TARGET_SAMPLES)/brstm/lozswd_partial.brstm -c:a copy
 
-FATE_SAMPLES_DEMUX-$(CONFIG_CAF_DEMUXER) += fate-caf
-fate-caf: CMD = crc -i $(TARGET_SAMPLES)/caf/caf-pcm16.caf -c copy
-
 FATE_SAMPLES_DEMUX-$(CONFIG_CDXL_DEMUXER) += fate-cdxl-demux
 fate-cdxl-demux: CMD = framecrc -i $(TARGET_SAMPLES)/cdxl/mirage.cdxl -c:v copy -c:a copy
 
diff --git a/tests/ref/fate/caf b/tests/ref/fate/caf-demux
similarity index 100%
rename from tests/ref/fate/caf
rename to tests/ref/fate/caf-demux
-- 
2.30.2



More information about the ffmpeg-devel mailing list