From 51150cf070c28b3f71165f9bf05ff556fc9f8a7c Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 14 Dec 2011 15:07:55 +0100 Subject: [PATCH] fate: split off voice codec FATE tests into their own file --- tests/Makefile | 1 + tests/fate/voice.mak | 22 ++++++++++++++++++++++ tests/fate2.mak | 23 ----------------------- 3 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 tests/fate/voice.mak diff --git a/tests/Makefile b/tests/Makefile index d2d2f64b79..cddd5ebb35 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -52,6 +52,7 @@ include $(SRC_PATH)/tests/fate/qtrle.mak include $(SRC_PATH)/tests/fate/real.mak include $(SRC_PATH)/tests/fate/screen.mak include $(SRC_PATH)/tests/fate/utvideo.mak +include $(SRC_PATH)/tests/fate/voice.mak include $(SRC_PATH)/tests/fate/vorbis.mak include $(SRC_PATH)/tests/fate/vpx.mak include $(SRC_PATH)/tests/fate/vqf.mak diff --git a/tests/fate/voice.mak b/tests/fate/voice.mak new file mode 100644 index 0000000000..51cc2ae37e --- /dev/null +++ b/tests/fate/voice.mak @@ -0,0 +1,22 @@ +FATE_TESTS += fate-g722dec-1 +fate-g722dec-1: CMD = framecrc -i $(SAMPLES)/g722/conf-adminmenu-162.g722 + +FATE_TESTS += fate-g722enc +fate-g722enc: tests/data/asynth-16000-1.sw +fate-g722enc: CMD = md5 -ar 16000 -ac 1 -f s16le -i $(TARGET_PATH)/tests/data/asynth-16000-1.sw -acodec g722 -ac 1 -f g722 + +FATE_TESTS += fate-gsm +fate-gsm: CMD = framecrc -i $(SAMPLES)/gsm/sample-gsm-8000.mov -t 10 + +FATE_TESTS += fate-gsm-ms +fate-gsm-ms: CMD = framecrc -i $(SAMPLES)/gsm/ciao.wav + +FATE_TESTS += fate-qcelp +fate-qcelp: CMD = pcm -i $(SAMPLES)/qcp/0036580847.QCP +fate-qcelp: CMP = oneoff +fate-qcelp: REF = $(SAMPLES)/qcp/0036580847.pcm + +FATE_TESTS += fate-truespeech +fate-truespeech: CMD = pcm -i $(SAMPLES)/truespeech/a6.wav +fate-truespeech: CMP = oneoff +fate-truespeech: REF = $(SAMPLES)/truespeech/a6.pcm diff --git a/tests/fate2.mak b/tests/fate2.mak index 40cebfef0e..05399b9199 100644 --- a/tests/fate2.mak +++ b/tests/fate2.mak @@ -1,11 +1,6 @@ FATE_TESTS += fate-mpeg2-field-enc fate-mpeg2-field-enc: CMD = framecrc -flags +bitexact -dct fastint -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -an -FATE_TESTS += fate-qcelp -fate-qcelp: CMD = pcm -i $(SAMPLES)/qcp/0036580847.QCP -fate-qcelp: CMP = oneoff -fate-qcelp: REF = $(SAMPLES)/qcp/0036580847.pcm - FATE_TESTS += fate-qdm2 fate-qdm2: CMD = pcm -i $(SAMPLES)/qt-surge-suite/surge-2-16-B-QDM2.mov fate-qdm2: CMP = oneoff @@ -30,24 +25,6 @@ fate-nellymoser: CMD = pcm -i $(SAMPLES)/nellymoser/nellymoser.flv fate-nellymoser: CMP = oneoff fate-nellymoser: REF = $(SAMPLES)/nellymoser/nellymoser.pcm -FATE_TESTS += fate-truespeech -fate-truespeech: CMD = pcm -i $(SAMPLES)/truespeech/a6.wav -fate-truespeech: CMP = oneoff -fate-truespeech: REF = $(SAMPLES)/truespeech/a6.pcm - -FATE_TESTS += fate-gsm -fate-gsm: CMD = framecrc -i $(SAMPLES)/gsm/sample-gsm-8000.mov -t 10 - -FATE_TESTS += fate-gsm-ms -fate-gsm-ms: CMD = framecrc -i $(SAMPLES)/gsm/ciao.wav - -FATE_TESTS += fate-g722dec-1 -fate-g722dec-1: CMD = framecrc -i $(SAMPLES)/g722/conf-adminmenu-162.g722 - -FATE_TESTS += fate-g722enc -fate-g722enc: tests/data/asynth-16000-1.sw -fate-g722enc: CMD = md5 -ar 16000 -ac 1 -f s16le -i $(TARGET_PATH)/tests/data/asynth-16000-1.sw -acodec g722 -ac 1 -f g722 - FATE_TESTS += fate-ansi fate-ansi: CMD = framecrc -chars_per_frame 44100 -i $(SAMPLES)/ansi/TRE-IOM5.ANS -pix_fmt rgb24