summaryrefslogtreecommitdiff
path: root/tests/fate/mapchan.mak
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-12-14 20:04:32 +0100
committerClément Bœsch <ubitux@gmail.com>2011-12-14 20:04:44 +0100
commit54c7e81a53cd6c29d4f8673d83f53adef73e9b72 (patch)
tree6d1a42dd706eebf2cd2b06cf3d6090e0bb00d94f /tests/fate/mapchan.mak
parent9b01a8ad5ecf88aa0a8e52c2b70816e03ef59162 (diff)
fate: split off map_channel tests.
Also introduce a fate-mapchan rule for all of them.
Diffstat (limited to 'tests/fate/mapchan.mak')
-rw-r--r--tests/fate/mapchan.mak14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/fate/mapchan.mak b/tests/fate/mapchan.mak
new file mode 100644
index 0000000000..ebc7ee36ea
--- /dev/null
+++ b/tests/fate/mapchan.mak
@@ -0,0 +1,14 @@
+FATE_MAPCHAN += fate-mapchan-6ch-extract-2
+fate-mapchan-6ch-extract-2: tests/data/mapchan-6ch.sw
+fate-mapchan-6ch-extract-2: CMD = avconv -ar 22050 -ac 6 -f s16le -i $(TARGET_PATH)/tests/data/mapchan-6ch.sw -map_channel 0.0.0 -f wav md5: -map_channel 0.0.1 -f wav md5:
+
+FATE_MAPCHAN += fate-mapchan-6ch-extract-2-downmix-mono
+fate-mapchan-6ch-extract-2-downmix-mono: tests/data/mapchan-6ch.sw
+fate-mapchan-6ch-extract-2-downmix-mono: CMD = md5 -ar 22050 -ac 6 -f s16le -i $(TARGET_PATH)/tests/data/mapchan-6ch.sw -map_channel 0.0.1 -map_channel 0.0.0 -ac 1 -f wav
+
+FATE_MAPCHAN += fate-mapchan-silent-mono
+fate-mapchan-silent-mono: tests/data/mapchan-mono.sw
+fate-mapchan-silent-mono: CMD = md5 -ar 22050 -ac 1 -f s16le -i $(TARGET_PATH)/tests/data/mapchan-mono.sw -map_channel -1 -map_channel 0.0.0 -f wav
+
+FATE_TESTS += $(FATE_MAPCHAN)
+fate-mapchan: $(FATE_MAPCHAN)