avconv: only retry decoding on actual decoding errors
[ffmpeg.git] / tests / checkasm / Makefile
1 # libavcodec tests
2 # subsystems
3 AVCODECOBJS-$(CONFIG_AUDIODSP)          += audiodsp.o
4 AVCODECOBJS-$(CONFIG_BLOCKDSP)          += blockdsp.o
5 AVCODECOBJS-$(CONFIG_BSWAPDSP)          += bswapdsp.o
6 AVCODECOBJS-$(CONFIG_FMTCONVERT)        += fmtconvert.o
7 AVCODECOBJS-$(CONFIG_H264DSP)           += h264dsp.o
8 AVCODECOBJS-$(CONFIG_H264PRED)          += h264pred.o
9 AVCODECOBJS-$(CONFIG_H264QPEL)          += h264qpel.o
10 AVCODECOBJS-$(CONFIG_VP8DSP)            += vp8dsp.o
11
12 # decoders/encoders
13 AVCODECOBJS-$(CONFIG_DCA_DECODER)       += dcadsp.o synth_filter.o
14 AVCODECOBJS-$(CONFIG_HEVC_DECODER)      += hevc_mc.o hevc_idct.o
15 AVCODECOBJS-$(CONFIG_V210_ENCODER)      += v210enc.o
16 AVCODECOBJS-$(CONFIG_VP9_DECODER)       += vp9dsp.o
17
18 CHECKASMOBJS-$(CONFIG_AVCODEC)          += $(AVCODECOBJS-yes)
19
20
21 -include $(SRC_PATH)/tests/checkasm/$(ARCH)/Makefile
22
23 CHECKASMOBJS += $(CHECKASMOBJS-yes) checkasm.o
24 CHECKASMOBJS := $(sort $(CHECKASMOBJS:%=tests/checkasm/%))
25
26 -include $(CHECKASMOBJS:.o=.d)
27
28 CHECKASMDIRS := $(sort $(dir $(CHECKASMOBJS)))
29 $(CHECKASMOBJS): | $(CHECKASMDIRS)
30 OBJDIRS += $(CHECKASMDIRS)
31
32 CHECKASM := tests/checkasm/checkasm$(EXESUF)
33
34 $(CHECKASM): $(EXEOBJS) $(CHECKASMOBJS) $(FF_STATIC_DEP_LIBS)
35         $(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $(CHECKASMOBJS) $(FF_STATIC_DEP_LIBS) $(EXTRALIBS)
36
37 checkasm: $(CHECKASM)
38
39 clean:: checkasmclean
40
41 checkasmclean:
42         $(RM) $(CHECKASM) $(CLEANSUFFIXES:%=tests/checkasm/%) $(CLEANSUFFIXES:%=tests/checkasm/$(ARCH)/%)
43
44 .PHONY: checkasm