fate: simplify vp8 rules
authorMans Rullgard <mans@mansr.com>
Sun, 16 Jan 2011 12:27:37 +0000 (12:27 +0000)
committerMans Rullgard <mans@mansr.com>
Tue, 18 Jan 2011 20:48:24 +0000 (20:48 +0000)
tests/fate/vp8.mak

index 4609120..2b17130 100644 (file)
@@ -6,18 +6,15 @@ fate-vp8-test-vector$(2)-$(1): CMD = framemd5 $(3) -i $(SAMPLES)/vp8-test-vector
 fate-vp8-test-vector$(2)-$(1): REF = $(SRC_PATH_BARE)/tests/ref/fate/vp8-test-vector-$(1)
 endef
 
 fate-vp8-test-vector$(2)-$(1): REF = $(SRC_PATH_BARE)/tests/ref/fate/vp8-test-vector-$(1)
 endef
 
-define FATE_VP8_FULL_SUITE
-$(foreach N,$(VP8_SUITE),$(eval $(call FATE_VP8_SUITE,$(N),$(2),$(VP8_OPT$(1)))))
+define FATE_VP8_FULL
+$(foreach N,$(VP8_SUITE),$(eval $(call FATE_VP8_SUITE,$(N),$(1),$(2))))
 
 
-FATE_VP8 += fate-vp8-sign-bias$(2)
-fate-vp8-sign-bias$(2): CMD = framemd5 $(VP8_OPT$(1)) -i $(SAMPLES)/vp8/sintel-signbias.ivf
-fate-vp8-sign-bias$(2): REF = $(SRC_PATH_BARE)/tests/ref/fate/vp8-sign-bias
+FATE_VP8 += fate-vp8-sign-bias$(1)
+fate-vp8-sign-bias$(1): CMD = framemd5 $(2) -i $(SAMPLES)/vp8/sintel-signbias.ivf
+fate-vp8-sign-bias$(1): REF = $(SRC_PATH_BARE)/tests/ref/fate/vp8-sign-bias
 endef
 
 endef
 
-VP8_OPTS = _ _emu_edge_
-VP8_OPT_ =
-VP8_OPT_emu_edge_ = -flags emu_edge
-
-$(foreach O,$(VP8_OPTS),$(eval $(call FATE_VP8_FULL_SUITE,$(O),$(subst _,-,$(O:_=)))))
+$(eval $(call FATE_VP8_FULL))
+$(eval $(call FATE_VP8_FULL,-emu-edge,-flags emu_edge))
 FATE_TESTS += $(FATE_VP8)
 fate-vp8: $(FATE_VP8)
 FATE_TESTS += $(FATE_VP8)
 fate-vp8: $(FATE_VP8)