build: move basic rules and variables to main Makefile
[libav.git] / tests / fate / vp8.mak
CommitLineData
4c3fbd4f
MR
1VP8_SUITE = 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017
2
3define FATE_VP8_SUITE
8d660f75
LB
4FATE_VP8 += fate-vp8-test-vector$(2)-$(1)
5fate-vp8-test-vector$(2)-$(1): CMD = framemd5 $(3) -i $(SAMPLES)/vp8-test-vectors-r1/vp80-00-comprehensive-$(1).ivf
6fate-vp8-test-vector$(2)-$(1): REF = $(SRC_PATH_BARE)/tests/ref/fate/vp8-test-vector-$(1)
4c3fbd4f
MR
7endef
8
3240b371
MR
9define FATE_VP8_FULL
10$(foreach N,$(VP8_SUITE),$(eval $(call FATE_VP8_SUITE,$(N),$(1),$(2))))
4c3fbd4f 11
3240b371
MR
12FATE_VP8 += fate-vp8-sign-bias$(1)
13fate-vp8-sign-bias$(1): CMD = framemd5 $(2) -i $(SAMPLES)/vp8/sintel-signbias.ivf
14fate-vp8-sign-bias$(1): REF = $(SRC_PATH_BARE)/tests/ref/fate/vp8-sign-bias
8d660f75
LB
15endef
16
3240b371
MR
17$(eval $(call FATE_VP8_FULL))
18$(eval $(call FATE_VP8_FULL,-emu-edge,-flags emu_edge))
4c3fbd4f
MR
19FATE_TESTS += $(FATE_VP8)
20fate-vp8: $(FATE_VP8)