diff mbox series

[FFmpeg-devel] fate/adpcm: add adpcm_ima_apm tests

Message ID 20200222132057.29442-1-zane@zanevaniperen.com
State Accepted
Headers show
Series [FFmpeg-devel] fate/adpcm: add adpcm_ima_apm tests
Related show

Checks

Context Check Description
andriy/ffmpeg-patchwork pending
andriy/ffmpeg-patchwork success Applied patch
andriy/ffmpeg-patchwork success Configure finished
andriy/ffmpeg-patchwork success Make finished
andriy/ffmpeg-patchwork success Make fate finished

Commit Message

Zane van Iperen Feb. 22, 2020, 1:21 p.m. UTC
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
---
 tests/fate/adpcm.mak                | 6 ++++++
 tests/ref/fate/adpcm-ima-apm-mono   | 1 +
 tests/ref/fate/adpcm-ima-apm-stereo | 1 +
 3 files changed, 8 insertions(+)
 create mode 100644 tests/ref/fate/adpcm-ima-apm-mono
 create mode 100644 tests/ref/fate/adpcm-ima-apm-stereo

Comments

Michael Niedermayer Feb. 22, 2020, 7:44 p.m. UTC | #1
On Sat, Feb 22, 2020 at 01:21:02PM +0000, Zane van Iperen wrote:
> Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
> ---
>  tests/fate/adpcm.mak                | 6 ++++++
>  tests/ref/fate/adpcm-ima-apm-mono   | 1 +
>  tests/ref/fate/adpcm-ima-apm-stereo | 1 +
>  3 files changed, 8 insertions(+)
>  create mode 100644 tests/ref/fate/adpcm-ima-apm-mono
>  create mode 100644 tests/ref/fate/adpcm-ima-apm-stereo

tested on mingw32/64, linux x86-32/64 mips arm 

will apply

thx

[...]
diff mbox series

Patch

diff --git a/tests/fate/adpcm.mak b/tests/fate/adpcm.mak
index a8493e8c58..ba8aa64fc5 100644
--- a/tests/fate/adpcm.mak
+++ b/tests/fate/adpcm.mak
@@ -100,5 +100,11 @@  fate-adpcm-ima-ssi-mono: CMD = md5 -i $(TARGET_SAMPLES)/kvag/mull1_cut.vag -f s1
 FATE_ADPCM-$(call DEMDEC, KVAG, ADPCM_IMA_SSI) += fate-adpcm-ima-ssi-stereo
 fate-adpcm-ima-ssi-stereo: CMD = md5 -i $(TARGET_SAMPLES)/kvag/credits_cut.vag -f s16le
 
+FATE_ADPCM-$(call DEMDEC, APM, ADPCM_IMA_APM) += fate-adpcm-ima-apm-mono
+fate-adpcm-ima-apm-mono: CMD = md5 -i $(TARGET_SAMPLES)/apm/outro1.apm -f s16le
+
+FATE_ADPCM-$(call DEMDEC, APM, ADPCM_IMA_APM) += fate-adpcm-ima-apm-stereo
+fate-adpcm-ima-apm-stereo: CMD = md5 -i $(TARGET_SAMPLES)/apm/AS01.apm -f s16le
+
 FATE_SAMPLES_AVCONV += $(FATE_ADPCM-yes)
 fate-adpcm: $(FATE_ADPCM-yes)
diff --git a/tests/ref/fate/adpcm-ima-apm-mono b/tests/ref/fate/adpcm-ima-apm-mono
new file mode 100644
index 0000000000..c97e09f759
--- /dev/null
+++ b/tests/ref/fate/adpcm-ima-apm-mono
@@ -0,0 +1 @@ 
+a5cb56a035ab4b79adceba6fe4a428d2
diff --git a/tests/ref/fate/adpcm-ima-apm-stereo b/tests/ref/fate/adpcm-ima-apm-stereo
new file mode 100644
index 0000000000..28bd689758
--- /dev/null
+++ b/tests/ref/fate/adpcm-ima-apm-stereo
@@ -0,0 +1 @@ 
+e7ceb7f846f831b0bb3728d8ec18fdd4