summaryrefslogtreecommitdiff
path: root/tests/fate/voice.mak
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-04-16 21:49:11 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-04-20 10:23:57 -0400
commita6c8cca2a82c8cd9ffdaaa2af8b922b15ab035a7 (patch)
treee00284d11277ad09f3cad304093be63933488907 /tests/fate/voice.mak
parent870165e217fcdebf721e8e8b0e9acf96395efd1b (diff)
FATE: replace current g722 encoding tests with an encode/decode test
Avoids resampling and channel mixing. This only tests the behavior with respect to input and output audio rather than also testing changes to the encoder or muxer that do not affect the resulting decoded output.
Diffstat (limited to 'tests/fate/voice.mak')
-rw-r--r--tests/fate/voice.mak12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/fate/voice.mak b/tests/fate/voice.mak
index 834b0ffc1f..8e5f86b083 100644
--- a/tests/fate/voice.mak
+++ b/tests/fate/voice.mak
@@ -1,9 +1,13 @@
-FATE_TESTS += fate-g722dec-1
+FATE_G722 += 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_G722 += fate-g722-encode
+fate-g722-encode: tests/data/asynth-16000-1.wav
+fate-g722-encode: SRC = tests/data/asynth-16000-1.wav
+fate-g722-encode: CMD = enc_dec_pcm wav md5 s16le $(SRC) -c:a g722
+
+FATE_TESTS += $(FATE_G722)
+fate-g722: $(FATE_G722)
FATE_GSM += fate-gsm-ms
fate-gsm-ms: CMD = framecrc -i $(SAMPLES)/gsm/ciao.wav