fate-mpc: add dependencies
authorMans Rullgard <mans@mansr.com>
Thu, 18 Oct 2012 02:16:04 +0000 (03:16 +0100)
committerMans Rullgard <mans@mansr.com>
Thu, 18 Oct 2012 12:12:28 +0000 (13:12 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
tests/fate/mpc.mak

index f30ba604ef6a4380f64a7e4bb9ffce3fd107570f..53d236ee225f5b5e590d7d429d6a5b61e0193cff 100644 (file)
@@ -1,13 +1,13 @@
-FATE_MPC += fate-mpc7-demux
+FATE_MPC-$(CONFIG_MPC_DEMUXER) += fate-mpc7-demux
 fate-mpc7-demux: CMD = crc -i $(SAMPLES)/musepack/inside-mp7.mpc -acodec copy
 
-FATE_MPC += fate-mpc8-demux
+FATE_MPC-$(CONFIG_MPC8_DEMUXER) += fate-mpc8-demux
 fate-mpc8-demux: CMD = crc -i $(SAMPLES)/musepack/inside-mp8.mpc -acodec copy
 
-FATE_MPC += fate-musepack7
+FATE_MPC-$(call DEMDEC, MPC, MPC7) += fate-musepack7
 fate-musepack7: CMD = pcm -i $(SAMPLES)/musepack/inside-mp7.mpc
 fate-musepack7: CMP = oneoff
 fate-musepack7: REF = $(SAMPLES)/musepack/inside-mp7.pcm
 
-FATE_SAMPLES_AVCONV += $(FATE_MPC)
-fate-mpc: $(FATE_MPC)
+FATE_SAMPLES_AVCONV += $(FATE_MPC-yes)
+fate-mpc: $(FATE_MPC-yes)